[17823] in Athena Bugs

home help back first fref pref prev next nref lref last post

syslogd bug in Red Hat 6.1

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon May 8 15:05:37 2000

Date: Mon, 8 May 2000 15:05:30 -0400
Message-Id: <200005081905.PAA02126@egyptian-gods.mit.edu>
From: Greg Hudson <ghudson@MIT.EDU>
To: bugs@MIT.EDU

I'm reporting this here for the record.  And maybe someone else is
having the same problem and can benefit from the workaround.  The
problem will fix itself in Athena 8.4.

In Red Hat 6.1, syslogd unlinks and recreates its Unix domain socket
when it gets a SIGHUP.  If a long-running process, such as named, has
the socket open, it is now writing into a black hole.  Eventually it
will block writing to the socket (which is interesting in and of
itself; on *BSD, writing to a Unix domain datagram socket with no
kernel buffers available will drop the datagram, whereas on Linux the
write will block).  This is kind of unfortunate, especially in the
case of named.

In Red Hat 6.2, syslogd does not unlink and recreate its Unix domain
sockets, so life is better.

home help back first fref pref prev next nref lref last post