Date: Thu, 30 Mar 2006 21:04:52 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <200603302104.k2UL4qF7086165@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2006-03-30 21:04:52 UTC
FreeBSD src repository
Modified files:
usr.sbin/syslogd syslogd.c
Log:
Currently, if writing out a log entry fails, we unlink that log entry from our
internal list of logfiles. So if writev(2) fails for potentially transient
errors like ENOSPC, syslogd requires a restart, even if the filesystem has
purged.
This change allows syslogd to ignore ENOSPC space errors, so that when the
filesystem is cleaned up, syslogd will automatically start logging again
without requiring the reset. This makes syslogd(8) a bit more reliable.
MFC after: 1 week
Revision Changes Path
1.150 +12 -5 src/usr.sbin/syslogd/syslogd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603302104.k2UL4qF7086165>
