Package: ntp-server Version: 1:4.2.0a+stable-8 Severity: normal File: /etc/init.d/ntp-server Tags: patch
To reproduce: /etc/init.d/ntp-server stop ; /etc/init.d/ntp-server restart just aborts the script, neither restarting nor explaining why not. --- /etc/init.d/ntp-server.dpkg-dist 2005-03-19 14:09:35.000000000 +0100 +++ /etc/init.d/ntp-server 2005-03-30 09:36:43.286620071 +0200 @@ -20,13 +20,13 @@ ;; stop) echo -n "Stopping NTP server: ntpd" - start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid + start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid || true echo "." rm -f /var/run/ntpd.pid ;; restart|force-reload) echo -n "Restarting NTP server: ntpd... " - start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid + start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid || true sleep 2 start-stop-daemon --start --quiet --exec /usr/sbin/ntpd -- -p /var/run/ntpd.pid -u $UGID echo "done." ... or say "not running" or whatever. Maybe there's an option for start-stop-daemon? -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8+lisbeth.20050206 Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages ntp-server depends on: ii ntp 1:4.2.0a+stable-8 Network Time Protocol: network uti ii ntp-simple 1:4.2.0a+stable-8 Network Time Protocol: daemon for -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]