cvs commit: src/usr.sbin/syslogd syslogd.c

Christian S.J. Peron csjp at FreeBSD.org
Thu Mar 30 21:04:53 UTC 2006


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


More information about the cvs-src mailing list