merge 552162 592930
thanks

See bug #552162, seems to be exactly the same problem. I could fix it by
adding "sleep 1" at two places as written in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552162#20


Sebastian 






--- /etc/init.d/chrony	2010-08-03 18:44:48.000000000 +0200
+++ /etc/init.d/chrony-test	2010-08-14 09:56:59.000000000 +0200
@@ -53,4 +53,5 @@
     start)
 	start-stop-daemon --start --verbose --exec $DAEMON || { echo "$DAEMON already running."; exit 1; }
+	sleep 1
 	/bin/pidof $DAEMON > /dev/null || { echo "$DAEMON failed to start."; exit 1; }
 	putonline
@@ -65,4 +66,5 @@
 	sleep 1
 	start-stop-daemon --start --quiet --exec $DAEMON -- -r
+	sleep 1
 	/bin/pidof $DAEMON > /dev/null || { echo "$DAEMON failed to restart."; rm -f /var/run/chrony-ppp-up; exit 1; }
 	putonline

Attachment: pgpvZwJBKydEU.pgp
Description: PGP signature

Reply via email to