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 <gnrp%komkon2.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/46023: Add -S pidfile option to newsyslog(8)
Date: Sun, 16 Sep 2012 01:38:35 +0200

 --Sig_/DlN==.IG5=xOMcqhwbGGH=2
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Hi,
 
 > NetBSD newsyslog(8) uses hardcoded path to syslogd.pid 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:
 >=20
 > # newsyslog -F
 > newsyslog: /var/run/syslogd.pid: No such file or directory
 >=20
 > There are several way to handle this problem
 >  1. Change newsyslog.conf and add pid files with new path
 >  2. Link /var/run/rsyslogd.pid to /var/run/syslogd.pid
 >  3. Provide configurable syslogd.pid 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
 
 --Sig_/DlN==.IG5=xOMcqhwbGGH=2
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
 iEYEARECAAYFAlBVEXsACgkQc7h7cu1Hpp4Y6wCeL8gwer75XPrh4MBf3IRRDf9q
 koUAniZfNNAGUsE6nuBgLihxtu8rptI6
 =aGwy
 -----END PGP SIGNATURE-----
 
 --Sig_/DlN==.IG5=xOMcqhwbGGH=2--
 


Home | Main Index | Thread Index | Old Index