tags 600403 + patch
thanks

I'm using the following patch to fix this bug.

diff -urN etc/init.d/chrony.old etc/init.d/chrony
--- etc/init.d/chrony.old       2011-09-22 12:05:45.000000000 +0200
+++ etc/init.d/chrony       2011-10-06 12:05:03.000000000 +0200
@@ -69,7 +69,7 @@

 putonline ()
 { # Do we have a default route?  If so put chronyd online.
-    if timelimit -q -s9 -t5 -- netstat -rn 2>/dev/null | grep UG | cut -f 1
-d ' ' | grep -q '0\.0\.0\.0'
+    if timelimit -q -s9 -t5 -- netstat -rn 2>/dev/null | grep -q
'^0\.0\.0\.0'
     then
        sleep 2  # Chronyd can take a while to start.
        if is_ready && doit_putonline


Regards,
Roberto Lumbreras
Debian developer

Reply via email to