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?

  • 1
    I'd suggest just making the file immutable with chattr. – David Schwartz Jul 17 '13 at 12:22
  • Which release of Fedora? – Aaron Copley Jul 17 '13 at 12:48
  • Fedora 12. Yes, I know. – akalenuk Jul 17 '13 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 '13 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.