On Fri, 7 Sep 2007 17:58:56 -0400 Brett Goulder wrote:
On Fri, 7 Sep 2007 10:28:48 +0200 Johannes Winkelmann wrote:
On Fri, Sep 07, 2007 at 10:12:30 +0200, Johannes Winkelmann wrote:
Hi,
On Thu, Sep 06, 2007 at 21:23:54 -0400, Brett Goulder wrote:
Attached is a patch to remove the lines which start syslogd and klogd from /etc/rc and move this function to /etc/rc.d/sysklogd,
Keep in mind that rc.single starts syslogd and klogd as well, but doesn't use rc.conf's SERVICES=() array, IOW if a user removes core/syslogd and the alternative *logd doesn't provide compatibility binaries this patch would break single user mode. Well, it would of course just break logging, not single user mode :-).
Johannes
Well, rsyslog would be entirely capable of having symlinks as /usr/sbin/syslogd and /usr/sbin/klogd, as it operates in the exact same way, however, that might not be applicable to other logging daemons such as syslog-ng or metalog and might require a reworking of rc.single, which I'm willing to do.
As a simple solution, I think it'd be easy enough to just create an /etc/rc.syslog symlink to say, /etc/rc.d/sysklogd or /etc/rc.d/rsyslog or whatever, this way in rc.single we can just call /tc/rc.syslog start, but it can start the logger of choice. The default link created by the rc package could be say, /etc/rc.d/sysklogd or whatever the default logger on the system is. I've already primed a port here and will submit a tarball/patch if you want. -- ~predatorfreak GnuPG Public key: http://pred.dcaf-security.org/dcafsec-pub-gpgkey.asc