Bug 558110

Summary: Feature Request: Add an NTPSERVERARGS variable to /etc/dhcp/dhclient.d/ntp.sh
Product: [Fedora] Fedora Reporter: Mark S. Mathews <mark>
Component: ntpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: mark, mlichvar, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-19 14:04:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark S. Mathews 2010-01-23 18:42:40 UTC
> Description of problem:

There's currently no way to add arguments to the 'server' line that dhclient appends to the /etc/ntp.conf file.

> Version-Release number of selected component (if applicable):

This discussion relates to F12 and rawhide.  Same situation in older releases but the filenames are different.


PROPOSED SOLUTION:

Add an NTPSERVERARGS variable to the statement that appends the server line to /etc/ntpd.conf

For example:
orig:
  echo "server ${s} # added by /sbin/dhclient-script"
mychange:
  echo "server ${s} ${NTPSERVERARGS} # added by /sbin/dhclient-script"

With this ifcfg-ethX (or anything else the dhclient process inherits from) can set the server arguments.

Thanks.

Comment 1 Miroslav Lichvar 2010-03-19 14:04:06 UTC
Included in ntp-4.2.6p1-0.1.rc5.fc14.

Comment 2 Fedora Update System 2010-04-12 13:04:25 UTC
ntp-4.2.6p1-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ntp-4.2.6p1-1.fc13

Comment 3 Fedora Update System 2010-04-16 23:55:01 UTC
ntp-4.2.6p1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.