OpenBSD Journal

Call for testing of ntpd(8) automatic mode

Contributed by Paul 'WEiRD' de Weerd on from the automatic flux capacitor dept.

Otto Moerbeek (otto@) has been working on improving the behaviour of ntpd(8) during system boot, especially for machines whose time is way off (e.g. for machines without a battery-backed clock (RTC)). One recently committed improvement dealt with the problem of bad time in a DNSSEC environment, but Otto is working on more changes in this area.

His latest diff will automatically correct time at start up if certain conditions are met:

  • Only automatically change time during system boot (i.e. when securelevel(7) is 0)
  • At least one constraint URL is configured
  • Time doesn't move backward
  • The offset is bigger than one minute
  • ntpd is started without the -s flag

This should help especially those (cheaper) machines that lack an RTC, such as Raspberry Pi systems.

Now Otto needs the community to help him test his proposed diff, to shake out bugs and find corner cases that may need special handling. You can download the diff here.

Make sure to disable the '-s' flag, and then please test and report back to Otto

(Comments are closed)



Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]