2005-12-29

Preparing for the New Year

They finally gave me my leap second. So what's a boy to do?

If you're using David Mills' NTP software, or offshoots like OpenNTPD, you don't do anything: you're using an NTP timescale that is pretty much fucked.

If you're using libtai, you probably have an /etc/leapsecs.dat file around somewhere, so you can either download a new /etc/leapsecs.dat file from http://cr.yp.to/libtai/leapsecs.dat or you can use my leapsunpack-0.05 package.

With leapsunpack-0.05, you can update your /etc/leapsecs.dat like so:

$ wget -nd http://su.bze.ro/software/leapsunpack-0.05.tar.gz
$ gunzip < leapsunpack-0.05.tar.gz | (cd /usr/local/src; tar -xf -)
$ cd /usr/local/src/leapsunpack-0.05
$ make
$ sudo ./leapsinstall

No matter how you update /etc/leapsecs.dat, just make sure it has the following checksums:

MD5 (/etc/leapsecs.dat) = 5ecd5a2eaa39b7f0b6b328a3760c50b2
SHA1 (/etc/leapsecs.dat) = a30a531a4c9e81d623d285f23b9e23fbd4f5e29d

No comments: