Public bug reported:

Binary package hint: ntp

Jaunty, fully up-to-date as of 5 minutes ago.  Running in a VMware
Server 1.0.8 VM (so time is erratic).

ntp     4.2.4p4+dfsg-7ubuntu5

ntptrace reports "stratum 16" but ntpd reports sync in syslog, thus
ntptrace should report "stratum 3" (in the example below).

[...@ubuntu-904:T2:L1:C61:J0:2009-03-30_17:52:22_EDT]
/home/jp$ ntptrace      
localhost: stratum 16, offset 0.000000, synch distance 0.012630

[...@ubuntu-904:T2:L1:C63:J0:2009-03-30_17:53:14_EDT]
/home/jp$ sudo ntptrace
[sudo] password for jp: 
localhost: stratum 16, offset 0.000000, synch distance 0.013815

[...@ubuntu-904:T2:L1:C62:J0:2009-03-30_17:53:09_EDT]
/home/jp$ grep ntpd /var/log/syslog.0 | tail
Mar 30 04:03:26 ubuntu-904 ntpd[2862]: kernel time sync status 0040
Mar 30 04:03:26 ubuntu-904 ntpd[2862]: frequency initialized 500.000 PPM from 
/var/lib/ntp/ntp.drift
Mar 30 04:17:24 ubuntu-904 ntpd[2862]: synchronized to 192.168.1.11, stratum 2
Mar 30 04:17:24 ubuntu-904 ntpd[2862]: time reset -1.873090 s
Mar 30 04:17:24 ubuntu-904 ntpd[2862]: kernel time sync status change 0001
Mar 30 04:23:52 ubuntu-904 ntpd[2862]: synchronized to 192.168.1.11, stratum 2
Mar 30 04:32:30 ubuntu-904 ntpd[2862]: time reset -2.024902 s
Mar 30 04:42:59 ubuntu-904 ntpd[2862]: synchronized to 192.168.1.11, stratum 2
Mar 30 04:48:19 ubuntu-904 ntpd[2862]: time reset -2.120918 s
Mar 30 04:57:48 ubuntu-904 ntpd[2862]: synchronized to 192.168.1.11, stratum 2


Expected: ntptrace should report valid results, for example, from a Debian 
Lenny also in VMware Server 1.0.8 :
$ ntptrace 
localhost: stratum 3, offset -0.000327, synch distance 0.106666
ip-72-167-54-201.ip.secureserver.net: stratum 2, offset -0.000102, synch 
distance 0.050385
montpelier.ilan.caltech.edu: stratum 1, offset 0.000049, synch distance 
0.000835, refid 'USNO'

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

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

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

Reply via email to