Opened 12 years ago

Closed 12 years ago

#587 closed defect (fixed)

The Openntpd patch in Changeset 3266 doesn't work

Reported by: s9999@… Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: packages Version:
Keywords: openntpd adjtimex Cc:


For some reason the --with-adjtimex configure setting for the patch in Changeset 3266 never actually results in defining USE_ADJTIMEX in config.h. I don't really know why this is, but it works the same way in my Gentoo build environment. As suggested in the patch file, I worked around this by adding -DUSE_ADJTIMEX to CFLAGS in the package makefile:


Now I get the extra message about adjusting the clock skew when the clock is adjusted that the patch provides:

adjusting local clock by -0.002436s

interval 2504.498 skew -0.972 total skew -35.065

These adjustments can be monitored with the adjtimex utility discussed in Ticket #450. After letting the skew adjustment settle, it's also possible to set an initial frequency with this utility in the openntpd startup file, customized for the skew of your hardware. Very helpful.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [3920]

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.