[pkg-ntp-maintainers] Bug#484974: why this if-up.d/ntpdate thing ????

Pierre Colombier pcdwarf at pcdwarf.net
Wed Feb 15 13:37:26 UTC 2012


> /etc/network/if-up.d/ntpdate runs even if you bring up a virtual interface
> like eth0:5; I don't see any reason why it should ever do that.

Anayway, i don't see any real good reason to trigger ntpdate when network interfaces are going up.
I understand it can be useful on workstations with intermittent internet connections but this leads to unwanted time synchronizations and possibly time leaps  where many interfaces are created and destroyed.

anyway this breaks any other attemps to call ntpdate from init scripts (or rc.local)

I think ntpd is a service and should start with the system but on the other end, I think ntpdate is a time sync tool and should *not* be called automatically by the system unless specified in a config file.
What about an init script and an enable flag in the config file /etc/default/ntpdate ? 










More information about the pkg-ntp-maintainers mailing list