From owner-freebsd-hackers Mon Oct 29 12:14:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 7244B37B401; Mon, 29 Oct 2001 12:14:09 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 2527281D08; Mon, 29 Oct 2001 14:14:09 -0600 (CST) Date: Mon, 29 Oct 2001 14:14:09 -0600 From: Alfred Perlstein To: Michael Sinz Cc: obrien@FreeBSD.ORG, Mike Barcroft , void , Kris Kennaway , hackers@FreeBSD.ORG Subject: Re: syslogd and kqueue Message-ID: <20011029141409.B15052@elvis.mu.org> References: <20011026233957.A9925@parhelion.firedrake.org> <20011026200436.A61058@xor.obsecurity.org> <20011027043342.A18231@parhelion.firedrake.org> <20011027001704.B2586@coffee.q9media.com> <20011027002622.C2586@coffee.q9media.com> <06ea43fb01df2807d1@[192.168.1.4]> <0ac642ae01eaa107d1@[192.168.1.4]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <0ac642ae01eaa107d1@[192.168.1.4]>; from msinz@wgate.com on Mon, Oct 29, 2001 at 03:06:11PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Michael Sinz [011029 14:07] wrote: > > This has bitten a number of support people - a server fills up and they > get a bit too loose with the "rm" command and logging stops. > > I actually somewhat understand why syslogd does not open/create the file > using the current syslog.conf syntax - it is hard to descript user/group > ownership and access rights in the syslog.conf. The thing that syslogd > does is write to the file that already exists such that the access rights > can be controlled externally to the syslogd process. > I'm jumping in having only paid cursory attention to the current thread so my apologies if this makes little sense. Why not add a flag or something to syslog or newsyslog which somehow evaluates the space available and/or creates the new files. We could switch the system defaults via src/etc/defaults to advise the use of this flag in 4.x and actually default to it in 5.x. I guess this would have to address the permissions problem, perhaps there's some way of addiding additional fields to syslog.conf? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message