[pkg-ntp-maintainers] Bug#858548: ntp: Use of CLOCK_TAI should return correct value
Edmund Grimley Evans
edmund.grimley.evans at gmail.com
Thu Mar 23 10:58:25 UTC 2017
Source: ntp
Version: 1:4.2.8p10+dfsg-1
Severity: wishlist
I posted a question to debian-users
(https://lists.debian.org/debian-user/2017/03/msg00591.html) and
nobody said "This already works" or "This is a bad idea", so I'm
filing this bug.
It would be nice if clock_gettime(CLOCK_TAI, ...) would give the
correct answer either with no special configuration or with very
little extra reconfiguration. This would probably be achieved by
downloading a table of leap seconds so it is related to #851096.
See also:
https://superuser.com/questions/1156693/is-there-a-way-of-getting-correct-clock-tai-on-linux
A test program to print out the difference between CLOCK_TAI and
CLOCK_UTC or CLOCK_REALTIME is attached. (Right-justification of
this bug report happened by accident.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taidiff.c
Type: text/x-csrc
Size: 1226 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20170323/570de190/attachment.c>
More information about the pkg-ntp-maintainers
mailing list