Clean install Buster and ntp. Edit /etc/init.d/ntp and change the two references to /run/ntp.conf to point to my config file (/etc/ntp.conf) where I remove the pool statements and add two server statements pointing to my ntp two servers. Reboot. ntp -p shows it using the dhcp supplied server. The above process works under Stretch. It may have changed for Buster, if so what is the recommended method to use for our own config?
Am 05.07.19 um 04:03 schrieb Mark James: Hi Mark, ntp in Buster is not started anymore with the initscript /etc/init.d/ntp, but with a system unit. The file is in /usr/lib/ntp/ntp-systemd-wrapper . You can either change this file (which will not be update-safe) or remove /etc/dhcp/dhclient-exit-hooks.d/ntp which is the hook script responsible for gating the information from NetworkManager/dhclient into the file ntp is reading. Bernhard
This problem is solved in the package ntpsec via an option located in /etc/defaults/.... See files in package ntpsec: /etc/dhcp/dhclient-exit-hooks.d/ntpsec and /etc/init.d/ntpsec. Please add this functionality to ntp. Thanks. Jeff P.S. The bug #560046 appears to be on the same topic as this bug. Maybe merge them?