There are two processes associated with openntpd:

r...@prana:~$ ps auxw | grep ntpd
root      4216  0.0  0.0   3560   820 ?        Ss   13:25   0:00 /usr/sbin/ntpd
ntpd      4217  0.0  0.1   4804  1304 ?        S    13:25   0:00 /usr/sbin/ntpd

The one started as 'root' forks the other one (running as 'ntpd').

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.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to