|Summary:||[ntp] [patch] Optionally run ntpdate at host resume time|
|Product:||Base System||Reporter:||Bertrand Petit <bsdpr>|
|Component:||conf||Assignee:||freebsd-bugs (Nobody) <bugs>|
|Severity:||Affects Only Me||CC:||bsdpr, emaste|
|Bug Depends on:||236958|
Description Bertrand Petit 2019-04-02 11:03:32 UTC
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.
Comment 1 Bertrand Petit 2019-04-02 11:05:53 UTC
I forgot the disclose that I made this patch against 11-STABLE revision 345570.
Comment 2 Bertrand Petit 2019-04-02 11:41:48 UTC
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.