Public bug reported:

Using Ubuntu 12.04 server.

The initscript /etc/init.d/chrony should set chrony to online-mode if Internet 
connectivity is detected.
However, it always sets chrony to offline mode even when the machine is online. 
resulting in the machine's clock never being synchronized!

I have copy-pasted some of the "if" in the script to see which one fails, and 
this one is it:
"if timelimit -q -s9 -t5 -- netstat -rn 2>/dev/null | grep UG | cut -f 1 -d ' ' 
| grep -q '0\.0\.0\.0'"

(FYI: The machine is online via a DSL-connection configured by
"pppoeconf".)

** Affects: chrony (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1034420

Title:
  Chrony initscript always sets chrony offline even with Internet
  connectivity

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1034420/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to