Bug#2552: syslogd and race conditions
Package: syslogd
Version: 1.2-19
syslogd appears to be affected by some race condition so that it won't
necessarily start up reliably. I don't know if the race condition is
in syslogd or in the kernel. I don't know if configuring syslogd to
write to /dev/xconsole has anything to do with it. I suspect that
there are factors I'm not really aware of here.
Anyways, syslogd usually recovers (with a SIGALRM), but not
consistently in my configuration.
For the moment, I've modified my copy of /etc/init.d/sysklogd to
restart syslogd after starting klogd:
...
case "$1" in
start)
start-stop-daemon --start --verbose --exec /sbin/syslogd
start-stop-daemon --start --verbose --exec /sbin/klogd
killall -HUP syslogd # restart syslogd
;;
...
This seems to help quite a bit.
--
Raul
Reply to: