Bug 143637 - [patch] ntpdate(8) support for ntp-servers supplied by dhcp
Summary: [patch] 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)
Depends on:
Reported: 2010-02-07 10:40 UTC by Erik Norgaard
Modified: 2017-12-31 22:35 UTC (History)
0 users

See Also:

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