NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/46023: Add -S pidfile option to newsyslog(8)

The following reply was made to PR bin/46023; it has been noted by GNATS.

From: Julian Djamil Fagir <>
Subject: Re: bin/46023: Add -S pidfile option to newsyslog(8)
Date: Sun, 16 Sep 2012 01:38:35 +0200

 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 > NetBSD newsyslog(8) uses hardcoded path to to notificate
 > syslogd that log files has been rotated. It might be problematic if you
 > want to use non standard syslog e.g. wip/rsyslog5 which has different pid
 > file location:
 > # newsyslog -F
 > newsyslog: /var/run/ No such file or directory
 > There are several way to handle this problem
 >  1. Change newsyslog.conf and add pid files with new path
 >  2. Link /var/run/ to /var/run/
 >  3. Provide configurable path to newsyslog(8)
 I would still prefer option 1 over 3. That's what the configuration file is
 for. Plus, the behaviour should be more documented. I would expect to have
 the command line arguments *over* the configuration file, not being only the
 fallback in case there is no pidfile specified.
 Regards, Julian
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 Version: GnuPG v1.4.9 (GNU/Linux)

Home | Main Index | Thread Index | Old Index