TAI offset is incorrect during the leap second
Issue
- TAI offset is incorrect during the leap second.
- When repeating a UTC time value during a leap second (when the UTC time should be 23:59:60), the TAI timescale should not stop. The kernel NTP code increments the TAI offset one second too late.
Environment
- Red Hat Enterprise Linux 6
- Applications using
TAI offset(specifically the tai field in the timex struct) on a system synchronized by NTP or PTP). This setting is not set system-wide, instead an application can makeadjtimex()system calls to obtain the offset between TAI and UTC, which is where this issue exists.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
