From owner-cvs-src@FreeBSD.ORG Mon Mar 6 22:33:28 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 D711816A42B; Mon, 6 Mar 2006 22:33:28 +0000 (GMT) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE2D143D79; Mon, 6 Mar 2006 22:33:27 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id B605B131DDE; Tue, 7 Mar 2006 09:03:26 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 9BF6985EB5; Tue, 7 Mar 2006 09:03:26 +1030 (CST) Date: Tue, 7 Mar 2006 09:03:26 +1030 From: Greg 'groggy' Lehey To: Garance A Drosihn Message-ID: <20060306223326.GZ917@wantadilla.lemis.com> References: <200603061036.k26AaXgt047115@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2zue9K3IhLF/3KAd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 22:33:29 -0000 --2zue9K3IhLF/3KAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 6 March 2006 at 12:33:57 -0500, Garance A Drosihn wrote: > At 10:36 AM +0000 3/6/06, Pawel Jakub Dawidek wrote: >> pjd 2006-03-06 10:36:33 UTC >> >> FreeBSD src repository >> >> Modified files: >> usr.sbin/syslogd syslogd.8 syslogd.c >> Log: >> By default (for security reasons) syslogd(8) doesn't create >> log files when they don't exist, but sometimes its quite >> useful (eg. we use non-standard log files and memory backed >> /var/, which is populated on boot). >> >> Add -C option which tells syslogd(8) to create log files if >> they don't exist. > > Hmm. Note that newsyslog includes an option to automatically > create files. Presumably the log files created by syslogd would > need to be rotated, in which case they'll already have entries > in newsyslog.conf. > > The advantage of creating them in newsyslog is that newsyslog > knows what owner, group, and chmod bits the files should have. > I would not say that I object to the idea of having this option > in syslogd, but I'd think people would be much better off using > newsyslog to create any of the files. Agreed. Both have their place. The syslog man page should refer to the advantages of newsyslog for this purpose. Greg -- See complete headers for address and phone numbers. --2zue9K3IhLF/3KAd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFEDLi2IubykFB6QiMRAiVrAJ44P2i1cYdNSq3BIziYkicuR5zmOQCcDlq1 0ebjVGPz4A4zzLpojUTOUsQ= =UMHR -----END PGP SIGNATURE----- --2zue9K3IhLF/3KAd--