* Theo de Raadt <dera...@cvs.openbsd.org> [2009-08-09 03:56]: > > On 2009/08/08 15:25, Tim van der Molen wrote: > > > If httpd is disabled, then syslogd doesn't have to create a socket for > > > it. > > > > Other httpd's might be using this, I think it should stay. > > Indeed, there is a bigger issue here. > > If you start these services yourself by hand later, you will not have > the log sockets that you expect, resulting in various kinds of > failure. Perhaps we should always request that those log sockets be > created, unconditionaly, just in case the admin decides he wants to > add those services later. It is essentially free.
IMO yes, the answer is where does the daemon live: $ which httpd /usr/sbin/httpd if it's in /usr/sbin - create it ahead of time even if you don't start it automatically. > > > > Index: rc > > > =================================================================== > > > RCS file: /cvs/src/etc/rc,v > > > retrieving revision 1.331 > > > diff -u rc > > > --- rc 7 Aug 2009 22:27:47 -0000 1.331 > > > +++ rc 8 Aug 2009 12:35:57 -0000 > > > @@ -332,7 +332,7 @@ > > > > > > echo 'starting system logger' > > > rm -f /dev/log > > > -if [ X"${httpd_flags}" != X"-u" ]; then > > > +if [ X"${httpd_flags}" != X"NO" -a X"${httpd_flags}" != X"-u" ]; then > > > rm -f /var/www/dev/log > > > syslogd_flags="${syslogd_flags} -a /var/www/dev/log" > > > fi > -- #!/usr/bin/perl if ((not 0 && not 1) != (! 0 && ! 1)) { print "Larry and Tom must smoke some really primo stuff...\n"; }