Bug 143637 - ntpdate(8) support for ntp-servers supplied by dhcp
Summary: ntpdate(8) support for ntp-servers supplied by dhcp
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 8.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-07 10:40 UTC by Erik Norgaard
Modified: 2024-12-02 12:51 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (565 bytes, patch)
2010-02-07 10:40 UTC, Erik Norgaard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Norgaard 2010-02-07 10:40:00 UTC
The rc script, /etc/rc.d/ntpdate does not support configuring ntp
servers with the dhcp option ntp-servers. When the option ntp-servers
is configured in dhcpd.conf, this is supplied to the client and stored
in the kernel environment, dhcp.ntp-servers. 

The patch set ntpdate_hosts if not set in rc.conf or ntp.conf using the
dhcp option.

Fix: Apply the supplied patch

Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-02-07 13:09:53 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Patch against /etc/rc.d/ntpdate.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:20 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:08 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>