ntpdate shouldn't be run by ifup on desktops (conflict with time-admin's NTP options)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-system-tools
$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
$ uname -a
Linux U-001 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux
$ apt-cache policy gnome-system-tools
gnome-system-tools:
Installed: 2.30.0-0ubuntu2
Candidate: 2.30.0-0ubuntu2
It would be logical to expect, that when the time setting is set to "Manual" in the time-admin, then time is really set manually, and there is no synchronisation over the network
However even then there are lines like this in the system log:
ntpdate[1364]: adjust time server 91.189.94.4 offset 0.099757 sec
It is like that even after the clean install, when this setting was on manual and clicking caused the message about the need to install NTP support to pop out. Interesting... ntp is not installed, but something is still trying to adjust the time with the server, on this IP, which happens to be ntp.ubuntu.com.
Even more interesting was to observe, that after installing the NTP support and changing the time-admin setting to "Keep synchronised with internet servers" and even after the selecting totally different servers, there is still this same line on the system log every time after establishing the network connection. Of course then I discovered that this is doings of ntpdate, which is installed by default as dependancy of ubuntu-minimal and has this same ntp.ubuntu.com in its configuration - and there is no way to see or change it from the user interface. Other solution could be of course dropping the dependancy in a way, that ntpdate would not be installed by default on standard desktop installation, but I am not sure, if this could brake something else and would therefore be impossible.
The server(s) defined in /etc/default/
I really do not want to describe it as "calling home" (as the setting with ntp.ubuntu.com has no connection to user interface), but there is possibility, that someone else would.
In some places it could be even seen as security risk, when the system is connecting somewhere without any according configuration or the way to configure this...
ntpdate is not supposed to be run all the time AFAIK, it's mainly here to allow synchronizing the clock manually (what the "Sync Now" button is time-admin does), and creating scripts to do that. On my box, syslog doesn't contain anything related to ntpdate... Can't you think of any package you may have installed? Does installing NTP via time-admin stop this?