Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2006 09:14:19 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
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
Message-ID:  <20060307081419.GE56506@garage.freebsd.pl>
In-Reply-To: <200603061208.11685.jhb@freebsd.org>
References:  <200603061036.k26AaXgt047115@repoman.freebsd.org> <200603061208.11685.jhb@freebsd.org>

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

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



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