[ntp:questions] Trouble Simulating Leap Seconds

Miroslav Lichvar mlichvar at redhat.com
Tue Apr 7 07:42:31 UTC 2015


On Mon, Apr 06, 2015 at 01:56:48PM -0400, Jim Witschey wrote:
> Do I understand correctly that add_leap_second is an NTP-internal
> flag, while INS is a kernel flag? If so: when does the INS flag get
> set in the kernel? Should I expect ntpd to do so?

ntpd should set the kernel flag by calling ntp_adjtime()/adjtimex()
with STA_INS in the status field. You could run ntpd in strace to
verify that.

-- 
Miroslav Lichvar


More information about the questions mailing list