clock is delayed by a constant amount when ntpd is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ntp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello! I'm using Ubuntu Gutsy and I noticed some very strange behavior of the date and time settings.
I've been using manually-set date for a long time, but it had a lot of skew (not sure why) so I switched to using the time servers. I just enabled the network time in the clock applet, and added a few closer servers (Europe) from the list it offered next to the usual Ubuntu time server.
Then I noticed that the time was very off, by several hours.
If I turn off the ntp service (/etc/init.d/ntp stop), then run ntpdate-debian, the time and date are set correctly. I did that yesterday, turned ntp back on, and today I noticed a 16 hour difference again:
bogdanb@zalmox:~$ date
Thu Sep 20 05:08:19 CEST 2007 [wrong]
bogdanb@zalmox:~$ sudo /etc/init.d/ntp stop
[sudo] password for bogdanb:
* Stopping NTP server ntpd [ OK ]
bogdanb@zalmox:~$ sudo ntpdate-debian
19 Sep 21:08:56 ntpdate[7476]: step time server 193.62.22.98 offset -28799.890942 sec
bogdanb@zalmox:~$ date
Wed Sep 19 21:09:13 CEST 2007 [correct]
bogdanb@zalmox:~$ sudo /etc/init.d/ntp start
sudo: timestamp too far in the future: Sep 20 05:08:46 2007
[sudo] password for bogdanb:
* Starting NTP server ntpd [ OK ]
bogdanb@zalmox:~$ date
Wed Sep 19 21:16:39 CEST 2007
Any idea what could be wrong? I didn't mess with any of the config files, and as far as I can tell the timezone is set-up correctly. Still, the delay does seem to be an even number of hours... (I don't know what it was yesterday, I forgot to check, but I'll look if it happens again.)
This also occurs in Kubuntu Gutsy Gibbon.