[Bug 3889] New: syslog loses messages when syslogd restarted

bugzilla at busybox.net bugzilla at busybox.net
Fri Jun 17 14:06:19 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3889

           Summary: syslog loses messages when syslogd restarted
           Product: uClibc
           Version: 0.9.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at uclibc.org
        ReportedBy: michael at talamasca.ocis.net
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


Created attachment 3433
  --> https://bugs.busybox.net/attachment.cgi?id=3433
Fix to handle syslogd restarts

If syslogd is stopped and restarted while a process has the log open, the next
message that process produces will be logged to the console and not to the new
instance of syslogd.  Further messages will be routed correctly, but not the
first one after the restarted.

Attached is a patch to make the syslog function attempt to reconnect to the log
daemon after a ECONNRESET, before giving up on the message at issue.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list