On Mon, Mar 09, 2009 at 01:46:21PM +0100, Ruzsa Balazs wrote: > If we could ask start-stop-daemon to send the TERM signal only to the > process running as 'root', then the parent would orderly terminate its > child process (running as 'ntpd') and there would be no error messages. > > As it turns out, start-stop-daemon has a --user option which can be used > to select only those processes which are running as a given user. > > Therefore, I added `--user root' to the start-stop-daemon --stop calls > of the init script, and the problem disappeared.
Some programs rely on pid files. Monit monitoring service is an example: http://www.nabble.com/-monit--Check-process-without-pidfile-td21309035.html So, anyway the patch above may be usefull. You have to add --pidfile option for start-stop-daemon in this case. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org