Bug 43738

Summary: dhcpcd hook changes /etc/ntpd.conf
Product: Sisyphus Reporter: Vladimir D. Seleznev <vseleznv>
Component: dhcpcdAssignee: Mikhail Efremov <sem>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: mike, sem
Version: unstable   
Hardware: all   
OS: Linux   

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).