Description of problem:
If a root owned process calls syslog while the syslogd daemon is
stopped, it will set the LogType global variable permanently to
SOCK_STREAM, relegating any further syslog messages from that
application to the console, rather than the syslog
Version-Release number of selected component (if applicable):
all pre-RHEL4-Beta 1 versions
Steps to Reproduce:
1.log in as/su to root
2.start an application that periodically writes to the syslog
3.stop the syslog daemon
4.wait a sufficient period of time for the app in (2) to attempt to
write a syslog message
5.start the syslog daemon
Messages from the application are not logged in /var/log/messages
until the app is restarted
Messages from the appication should start to appaear in
/var/log/messages when syslogd is restarted.
This is fixed in the sources.redhat.com glibc cvs tree in version 1.42
The patch is in glibc-2.2.4-32.18 which ought to appear in AS2.1 U6 beta.
This looks to be fixed in U6.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.