[pkg-ntp-maintainers] Bug#600661: ntp: Uses /var/lib/ntp/ntp.conf.dhcp regardless!?

Will Aoki waoki at umnh.utah.edu
Thu Jan 5 22:32:59 UTC 2012


This is quite a nasty bug, as (when combined with #560046) it can easily
leave you in a situation where NTP has silently stopped working. The
incorrect documentation doesn't help matters.

It seems to me that /var/lib/ntp/ntp.conf.dhcp needs to be removed when
the DHCP client stops. It looks like there's code in the hook to do
that, but it evidently doesn't happen reliably, and should the system
crash the file will just get left there.

I'd recommend making arrangements for ntp.conf.dhcp to be erased on boot
and/or altering it to add DHCP-supplied servers in addition to, rather
than in place of, servers that are configured in /etc/ntp.conf.

-- 
William Aoki     KD7YAF    waoki at umnh.utah.edu    5-1924





More information about the pkg-ntp-maintainers mailing list