Bug 43738 - dhcpcd hook changes /etc/ntpd.conf
Summary: dhcpcd hook changes /etc/ntpd.conf
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: dhcpcd (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-08 17:00 MSK by Vladimir D. Seleznev
Modified: 2022-09-09 15:11 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir D. Seleznev 2022-09-08 17:00:59 MSK
I don't know how it is supposed to work, but ntp dhcpcd hook changes /etc/ntpd.conf by erasing its content. And openntpd stops working.
Comment 1 Mikhail Efremov 2022-09-09 15:11:34 MSK
This hook adds ntp servers to ntpd.conf if DHCP server sends them and removes them when interface is down. Other content shouldn't be touched and this apparently works for me exactly with openntpd, so I don't know how to reproduce this issue.
BTW, you can disable this hook in the /etc/dhcpcd.conf (add 'nohook ntp.conf' there).