On Thu, May 13, 2004 at 10:29:44AM +0200, Ilja Booij wrote: > > I've just checked on a webserver: > the 'root' apache process also is in state LISTEN and runs as root. So I > guess that's the way its' supposed to be. I presume Apache would be > doing The Right Thing. > > > >I've done some testing with moving drop_privileges to > >server.c,CreateSocket and the only thing I can come up with is that the > >daemon can not bind the right sockets on receiving a sighup due to lack > >of privileges.
Please don't setup any webservers for me. Apache should not be running as root, here are my apache processes. www-data 3784 0.0 0.1 12576 1480 ? S Apr30 0:00 /usr/sbin/apache2 -k start -DSSL www-data 3787 0.0 0.7 236688 6048 ? S Apr30 0:00 /usr/sbin/apache2 -k start -DSSL www-data 3792 0.0 0.8 237164 6760 ? S Apr30 0:00 /usr/sbin/apache2 -k start -DSSL
signature.asc
Description: Digital signature