dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

NTP hook support for ntpsec

Open perkelix opened this issue 2 years ago • 2 comments

Debian has apparently migrated to ntpsec as its preferred standalone NTP daemon for cases when timesyncd won't be used. Debian ships the config file as /etc/ntpsec/ntp.confwhich might require some adaptation to current NTP hooks. I'm unsure of whether dhcpcd's hooks will require any other finetuning to add support for this NTP daemon. I'm merely filing this report as a FYI. Cheers!

perkelix avatar May 15 '23 12:05 perkelix

I should look into better NTP support as more and more supports a conf.d directory approach.

rsmarples avatar May 19 '23 18:05 rsmarples

Returning to this bug, Debian ships the following NTP implementations (plus systemd-timesyncd, for which we already have a separate hook), with each configuration found as follows:

  • chrony: /etc/chrony/chrony.conf
  • ntpsec: /etc/ntpsec/ntp.conf
  • openntpd: /etc/openntpd/ntpd.conf

AFAIK the ntpsec config follows the traditional format of the reference NTP implementation.

perkelix avatar Jun 12 '24 17:06 perkelix