[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