Package: ntpsec Version: 1.1.0+dfsg1-1 Severity: normal The DHCP hook[1] is currently unconditionally used if a machine has a DHCP assigned address.
Please either add a method to disable the entire hook (I'd prefer this to avoid additional service restarts), or at least add a variable to /etc/default/ntp that will cause /run/ntp.conf.dhcp to not be used. I also think the test in the init script should probably change to if -e /run/ntp.conf.dhcp, since /run is created on boot, otherwise there's surprising behaviour if the admin edits ntp.conf, restarts the service, then discovers a DHCP update has reset the config. An unconditional test on file existence is likely less astonishing for users. 1: /etc/dhcp/dhclient-exit-hooks.d/ntp