From owner-cvs-src@FreeBSD.ORG Tue Mar 7 08:14:58 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 1CD2816A420; Tue, 7 Mar 2006 08:14:58 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF1CC43D53; Tue, 7 Mar 2006 08:14:56 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E8DE751756; Tue, 7 Mar 2006 09:14:54 +0100 (CET) Received: from localhost (dlt88.neoplus.adsl.tpnet.pl [83.24.49.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1D404509F1; Tue, 7 Mar 2006 09:14:46 +0100 (CET) Date: Tue, 7 Mar 2006 09:14:19 +0100 From: Pawel Jakub Dawidek To: John Baldwin Message-ID: <20060307081419.GE56506@garage.freebsd.pl> References: <200603061036.k26AaXgt047115@repoman.freebsd.org> <200603061208.11685.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2FkSFaIQeDFoAt0B" Content-Disposition: inline In-Reply-To: <200603061208.11685.jhb@freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, 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: Tue, 07 Mar 2006 08:14:58 -0000 --2FkSFaIQeDFoAt0B Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 06, 2006 at 12:08:08PM -0500, John Baldwin wrote: +> Did you know about the -C option to newsyslog? newsyslog is a better too +> for creating the log files since its config file can specify permissions +> (owner, group, chmod). I agree, but I didn't removed this functionality from the newsyslog(8). I wanted to have this simple functionality in syslogd(8) for a few small reasons: - I don't really buy that not creating log files is a security feature. - You don't always want newsyslog(8) (eg. on a embedded system). - Its more handy to add new log file and just restart syslogd without any errors, instead of editing newsyslog.conf, executing newsyslogd -C and then restarting syslogd. It still would be handy to tell newsyslogd(8) to always correct owner and permission (which it doesn't do currently, AFAIK) - root:wheel 0600 should be safe default for a log file in the meantime. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --2FkSFaIQeDFoAt0B Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEDUDbForvXbEpPzQRAnRqAJ9zkiOAwhvv8oKaHGKbNe0oUVmzvQCgmguY fplmls067bBlLSd+mCqRtsY= =huls -----END PGP SIGNATURE----- --2FkSFaIQeDFoAt0B--