Summary: | [ntp] [patch] Optionally run ntpdate at host resume time | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Bertrand Petit <bsdpr> | ||||
Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | New --- | ||||||
Severity: | Affects Only Me | CC: | bsdpr, emaste | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | 11.2-STABLE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | 236958 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
I forgot the disclose that I made this patch against 11-STABLE revision 345570. Running ntpdate without no functional network interface is useless. Waiting for network availability is therefore important. I added a dependency on a patch that permit netwait to run at resume time. |
Created attachment 203314 [details] Patch allowing to optionally run ntpdate at host resume time When sleeping a host's hardware clock may wildly be drifing out of sync with UTC, ntp will correct that but it could take a few hours before the system time is again in synchronized. The proposed patch address this issue by optionally running ntpdate at resume time. While working on this I took the liberty to document the configuration variables used by the ntpdate rc script.