Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2006 09:03:26 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c
Message-ID:  <20060306223326.GZ917@wantadilla.lemis.com>
In-Reply-To: <p06230917c03221d8700d@[128.113.24.47]>
References:  <200603061036.k26AaXgt047115@repoman.freebsd.org> <p06230917c03221d8700d@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060306223326.GZ917>