Red Hat Bugzilla – Bug 132816
glibc in RHEL 3 needs to have syslog.c updated to cvs version 1.42
Last modified: 2007-11-30 17:07:04 EST
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 How reproducible: always 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 Actual results: Messages from the application are not logged in /var/log/messages until the app is restarted Expected results: Messages from the appication should start to appaear in /var/log/messages when syslogd is restarted. Additional info: This is fixed in the sources.redhat.com glibc cvs tree in version 1.42 of misc/syslog.c
The patch is in glibc-2.3.2-95.28 which ought to appear in U4 beta.
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. http://rhn.redhat.com/errata/RHSA-2004-586.html