Bug 558110 - Feature Request: Add an NTPSERVERARGS variable to /etc/dhcp/dhclient.d/ntp.sh
Summary: Feature Request: Add an NTPSERVERARGS variable to /etc/dhcp/dhclient.d/ntp.sh
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-23 18:42 UTC by Mark S. Mathews
Modified: 2010-04-16 23:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-03-19 14:04:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.