[ntp:questions] leapseconds.list updates and ntpd

Harlan Stenn stenn at ntp.org
Wed Feb 11 05:44:49 UTC 2015


Paul writes:
> On Tue, Feb 10, 2015 at 12:19 PM, Harlan Stenn <stenn at ntp.org> wrote:
> 
> > No.  The code looks for an updated file (daily, I think, more often as
> > we get closer to an expiration).
> >
> 
> It checks every SECSPERDAY after start.  I didn't notice any adjustments to
> the interval (leapf_timer) and the comment says daily.

OK.  SECSPREDAY is certainly daily.  And we also check the leap file
hourly if the leapfile will expire in less than a month.

See check_leap_expiration() and the places that call it - its first
argument is 1 if it's a daily check, 0 otherwise (an hourly check).
-- 
Harlan Stenn <stenn at ntp.org>
http://networktimefoundation.org - be a member!


More information about the questions mailing list