[BusyBox] Five copies of syslog

Pavel Roskin proski at gnu.org
Tue Oct 10 00:51:23 UTC 2000


Hello, David!

> Now that I have replaced (mostly) start-stop-daemon with an actual 
> syslogd call, I have five copies of syslogd and one of klogd.  What 
> happened here?

I spent a lot of time investigating this problem. syslogd children wait
in read() forever.

It looks like that syslogd is not informed about UNIX sockets, that have
been disconnected on the other side.

It shouldn't be hard to use select() with a timeout but this would hide
the real question - why doesn't read() return?

If I remember correctly, I tried select() without timeout and with check
for error conditions - it didn't help, i.e. select() blocked forever just
like read().

I hope that somebody with a good knowledge in UNIX sockets will check
syslogd for this problem. Maybe GLibc needs to be checked as well.

Regards,
Pavel Roskin






More information about the busybox mailing list