SPECS: lighttpd.spec - fix the http group missing problem by creat...
djurban
djurban at pld-linux.org
Sat Nov 26 13:55:39 CET 2005
Author: djurban Date: Sat Nov 26 12:55:39 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix the http group missing problem by creating the group, this way i can get rid of
2005-11-26 12:51:15: (mod_fastcgi.c.804) bind failed for:
/var/run/php/php-fastcgi.sock-0 0 Permission denied
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: (
51/ UNKNOWN)
---- Files affected:
SPECS:
lighttpd.spec (1.141 -> 1.142)
---- Diffs:
================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.141 SPECS/lighttpd.spec:1.142
--- SPECS/lighttpd.spec:1.141 Wed Nov 23 16:26:44 2005
+++ SPECS/lighttpd.spec Sat Nov 26 13:55:33 2005
@@ -301,7 +301,9 @@
%pre
%groupadd -g 109 lighttpd
-%useradd -u 116 -d %{_lighttpddir} -c "HTTP User" -g lighttpd lighttpd
+%groupadd -g 51 http
+%addusertogroup lighttpd http
+%useradd -u 116 -d %{_lighttpddir} -c "HTTP User" -g lighttpd lighttpd,httpd
%post
/sbin/chkconfig --add %{name}
@@ -323,6 +325,7 @@
if [ "$1" = "0" ]; then
%userremove lighttpd
%groupremove lighttpd
+ %groupremove http
fi
%triggerpostun -- %{name} <= 1.3.6-2
@@ -414,6 +417,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.142 2005/11/26 12:55:33 djurban
+- fix the http group missing problem by creating the group, this way i can get rid of
+ 2005-11-26 12:51:15: (mod_fastcgi.c.804) bind failed for:
+ /var/run/php/php-fastcgi.sock-0 0 Permission denied
+ Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: (
+ 51/ UNKNOWN)
+
Revision 1.141 2005/11/23 15:26:44 glen
- 1.4.8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.141&r2=1.142&f=u
More information about the pld-cvs-commit
mailing list