From owner-cvs-all@FreeBSD.ORG Mon Mar 6 17:34:01 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E9C816A423; Mon, 6 Mar 2006 17:34:01 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6666443D45; Mon, 6 Mar 2006 17:33:59 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id k26HXwlm004878; Mon, 6 Mar 2006 12:33:59 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <200603061036.k26AaXgt047115@repoman.freebsd.org> References: <200603061036.k26AaXgt047115@repoman.freebsd.org> Date: Mon, 6 Mar 2006 12:33:57 -0500 To: Pawel Jakub Dawidek , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.3 Cc: Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 17:34:01 -0000 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. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu