1

Something rewrites my ntp.conf on reboot. It's easy to google that DHCP client may do it, and there is a simple solution for that. Just including -N option into dhcpcd_eth in /etc/conf.d/net should be enough.

It's fine except on Fedora there is no /etc/conf.d/net. We have /etc/sysconfig/network-scripts/ifcfg-eth* and I have no idea how to apply given solution to them. Maybe I'm even looking for a wrong thing is a wrong place.

How to tell DHCP not to touch ntp.conf on Fedora?

4
  • 1
    I'd suggest just making the file immutable with chattr. Jul 17, 2013 at 12:22
  • Which release of Fedora? Jul 17, 2013 at 12:48
  • Fedora 12. Yes, I know.
    – akalenuk
    Jul 17, 2013 at 14:01
  • 1
    On RHEL6 (ages newer in redhatish terms) the relevant code appears to be in /etc/dhcp/dhclient.d/ntp.sh
    – Dan Pritts
    Jul 17, 2013 at 16:31

0

You must log in to answer this question.

Browse other questions tagged .