Re: [PATCH] Write pid files for klogd, ntpd and watchdog

2012-12-06 Thread Anthony G. Basile
On 12/06/2012 02:15 AM, Laurent Bercot wrote: couldn't we make it a config option? Eventually also for syslogd. That would work for me. I still believe this would be bloat in the source code, since the same behaviour can be achieved in 2 lines of shell; but at least I could disable it at

[PATCH] Write pid files for klogd, ntpd and watchdog

2012-12-05 Thread Anthony G. Basile
From: Anthony G. Basile bluen...@gentoo.org Several applets can be run as daemons, such as syslogd. These write pid files but a few, like klogd, ntpd and watchdog, do not. We add write_pidfile() for these as is done for syslogd. This gives initialization systems like openrc better control over

Re: [PATCH] Write pid files for klogd, ntpd and watchdog

2012-12-05 Thread Tito
On Wednesday 05 December 2012 20:10:53 Anthony G. Basile wrote: From: Anthony G. Basile bluen...@gentoo.org Several applets can be run as daemons, such as syslogd. These write pid files but a few, like klogd, ntpd and watchdog, do not. We add write_pidfile() for these as is done for

Re: [PATCH] Write pid files for klogd, ntpd and watchdog

2012-12-05 Thread Laurent Bercot
Several applets can be run as daemons, such as syslogd. These write pid files but a few, like klogd, ntpd and watchdog, do not. We add write_pidfile() for these as is done for syslogd. Please don't, or at the very least, make it optional. 1. PID files are a horrible hack coming from the

Re: [PATCH] Write pid files for klogd, ntpd and watchdog

2012-12-05 Thread Tito
On Wednesday 05 December 2012 21:20:16 Laurent Bercot wrote: Several applets can be run as daemons, such as syslogd. These write pid files but a few, like klogd, ntpd and watchdog, do not. We add write_pidfile() for these as is done for syslogd. Please don't, or at the very least, make