[ntp:questions] Trouble Simulating Leap Seconds

Brian Inglis Brian.Inglis at SystematicSw.ab.ca
Wed Apr 15 22:13:53 UTC 2015


On 2015-04-15 09:07, Chris Walton wrote:
> These are the exact commands that are working perfectly for me on a recently updated RHEL_6.6 system:
>    service ntpd stop
>    sleep  5
>    ntptime -s 0
>    date -u 063023452015.00

Should that be date -u -s?

> /etc/leapseconds looks like this:
>    2272060800      10      # 1 Jan 1972
...
>    3644697600      36      # 1 Jul 2015

You also need the flagged lines in leapseconds, as the SHA1 hash includes those digit strings:
#$       3629404800
#@      3660249600
...
#h      45e70fa7 a9df2033 f4a49ab0 ec648273 7b6c22c

It would be nice if NIST updated the hash to something secure, like SHA-512, and authenticated the file with a public key.

-- 
Take care. Thanks, Brian Inglis


More information about the questions mailing list