Red Hat Bugzilla – Bug 1206504
RFE: option to correct clock for leap second by slewing
Last modified: 2016-10-24 03:32:35 EDT
Description of problem: When leap second is inserted to UTC, the system clock is corrected by the kernel by stepping the clock backwards at 0:00:00 UTC. This can be a problem for applications which need the system time to be monotonic or without any jumps. The development version of chrony now has a new option "leapsecmode" which can be used to select between different leap second handling modes. The clock can be either stepped by the kernel (the default), stepped by chronyd, slowly adjusted by slewing, or the leap second can be ignored and corrected later in normal operation. When the slewing mode is used, the correction starts at 0:00:00 UTC and is applied at the slewing rate set by the maxslewrate directive. The fixed starting time means that clocks on all NTP clients using the same setting stay together during that correction. http://git.tuxfamily.org/chrony/chrony.git/commit/?id=f8db83249133127f32281f80a2fc1ce1faaba203 Version-Release number of selected component (if applicable): chrony-1.29.1
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-2241.html