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

Simon Deziel simon at sdeziel.info
Tue Jul 7 03:09:39 UTC 2015


I ran into this too but on Ubuntu and filed [1] before noticing this
Debian bug.

I believe that [2, also attached here] might be a simple yet working
solution. It changes the initscript to use /var/lib/ntp/ntp.conf.dhcp
only if it is newer than /etc/ntp.conf.

This should keep the dhclient hook script working as it always updates
the ntp.conf.dhcp file when a NTP server is advertised via DHCP.

Regards,
Simon


1: https://bugs.launchpad.net/debian/+source/ntp/+bug/1472056
2:
https://bugs.launchpad.net/debian/+source/ntp/+bug/1472056/+attachment/4425385/+files/ntp-dont-use-stale-dhcp-conf.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntp-dont-use-stale-dhcp-conf.patch
Type: text/x-patch
Size: 326 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20150706/29b8f7c9/attachment.bin>


More information about the pkg-ntp-maintainers mailing list