Package: openntpd Version: 3.6.1p1-2 Severity: minor PROBLEM:
On running the init script with the 'stop' argument the script returns an error: # /etc/init.d/openntpd stop Stopping openntpd: start-stop-daemon: warning: failed to kill 759: No such process ntpd. This also seems to affect later versions. I can't confirm this, but I have looked through the Debian patches in 'unstable' and 'testing' and they both seem to have the same problem. SOLUTION: I modified the init script to create a pidfile in the /var/run/openntpd directory (which is created on install). Modified line 30 to read: start-stop-daemon --start --quiet --make-pidfile --pidfile=/var/run/openntpd/ntpd.pid --exec $DAEMON -- $DAEMON_OPTS I am running Debian Sarge. See attached patch against 3.6.1p1-2 Created: diff -uNr openntpd openntpd-orig > openntpd-3.6.1p1-2-init.patch Regards. Andrew Glen-Young
--- openntpd 2006-03-01 12:04:53.368589704 +0000 +++ openntpd-orig 2006-03-01 12:04:26.269709360 +0000 @@ -27,7 +27,7 @@ case "$1" in start) echo -n "Starting $DESC: " - start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS + start-stop-daemon --start --quiet --make-pidfile --pidfile=/var/run/openntpd/ntpd.pid --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; stop)

