[ntp:questions] Trouble Simulating Leap Seconds

Miroslav Lichvar mlichvar at redhat.com
Fri Apr 3 06:01:35 UTC 2015

On Wed, Apr 01, 2015 at 04:20:57PM -0400, Jim Witschey wrote:
> The server's warning for the upcoming leap second seems to propogate
> to the clients, as I see `leap_armed` in the output for `ntpq -c rl`
> before midnight, and `leap_event` afterwards. However, when I loop
> `date -u` over the leap second, I don't see a leap second getting
> inserted -- I expect 23:59:59 to last for 2 seconds, but it doesn't.
> The time goes straight from 23:59:59 to 00:00:00 the next day.
> In addition, I don't see any information about inserted leap seconds
> in the logs when I search with `dmesg | grep leap` or `sudo grep leap
> /var/log/syslog`.

Does status printed by ntptime include INS before midnight? Any chance
ntpd is started with the -x option or there is "tinker step" command
in ntp.conf?

Miroslav Lichvar

More information about the questions mailing list