Red Hat Bugzilla – Bug 809367
PEERNTP option is not documented
Last modified: 2014-03-16 23:30:31 EDT
DHCP server on my network supplies list of NTP servers. But I do not want to use them. I prefer different time server.
According my research, NetworkManager executes all executable /etc/dhcp/dhclient.d/* scripts. If I remove executable bit from /etc/dhcp/dhclient.d/ntp.sh, I get the bit again on ntp update/reinstallation.
I propose to put /etc/dhcp/dhclient.d/ntp.sh into separate sub-package (or to fiddle with %config macro in %files section) to allow administrator to ignore NTP servers provided by DHCP.
The NTP servers provided by dhcp can be ignored by setting PEERNTP=no anywhere in the sourced network scripts (e.g. /etc/sysconfig/network).
I will give a try.
Where did you find this option? I could not find in documentation (/usr/share/doc/initscripts-9.34.2/sysconfig.txt).
You can see it in the /etc/dhcp/dhclient.d/ntp.sh script. I think it used to be a dhclient option.
I confirm putting this option into /etc/sysconfig/network works.
I will reassign this documentation deficiency to initscripts.
Having initscripts be the source of documentation for any package that happens to drop a file in dhclient.d seems inefficient.
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.