[ntp:questions] Trouble Simulating Leap Seconds
jim.witschey at datastax.com
Thu Apr 2 14:08:07 UTC 2015
UTC -- I'm using `date -u`.
Software Engineer in Test | 434-270-8586 | jim.witschey at datastax.com
On Thu, Apr 2, 2015 at 2:44 AM, Marco Marongiu <brontolinux at gmail.com> wrote:
> 23:59:59 of which timezone?
> Il 02/apr/2015 03:14 "Jim Witschey" <jim.witschey at datastax.com> ha scritto:
>> Hey all,
>> I'm trying to simulate a leap second on a cluster of Ubuntu AWS
>> instances via NTP, and I could use some help. I've set up a basic NTP
>> server with a leapfile as described here:
>> 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
>> Am I missing something? I can provide more information on request.
>> Jim Witschey
>> questions mailing list
>> questions at lists.ntp.org
More information about the questions