From owner-cvs-src@FreeBSD.ORG Thu Mar 30 21:42:19 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03A7116A401; Thu, 30 Mar 2006 21:42:19 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D6F343D49; Thu, 30 Mar 2006 21:42:18 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (v66mg2eox56blhq3@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k2ULgHUt019694; Thu, 30 Mar 2006 13:42:17 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k2ULgGSW019691; Thu, 30 Mar 2006 13:42:16 -0800 (PST) (envelope-from jmg) Date: Thu, 30 Mar 2006 13:42:16 -0800 From: John-Mark Gurney To: "Christian S.J. Peron" Message-ID: <20060330214216.GC86967@funkthat.com> References: <200603302104.k2UL4qF7086165@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603302104.k2UL4qF7086165@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 21:42:19 -0000 Christian S.J. Peron wrote this message on Thu, Mar 30, 2006 at 21:04 +0000: > 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. I'd be cool if there was a log entry that logged the fact that we couldn't write entries for a time due to no space on the device, so that going back through the logs, you could understand why there was a big gap... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."