TAI offset is incorrect during the leap second

Solution Unverified - Updated -

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 make adjtimex() 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content