-
58f9bca4
by Miroslav Lichvar at 2026-11-05T11:02:00+01:00
ntp+refclock: reject sources indicating leap second
With the Resolution 5 of the 28th CGPM no more leap seconds or other
leaps in UTC are expected for at least a few hundred years. Handle NTP
sources and reference clocks indicating a leap second as unsynchronized
and don't store the leap status in the refclock instances any more.
-
1e0fb6e2
by Miroslav Lichvar at 2026-11-05T11:02:11+01:00
leapdb: drop leap second support
Remove support for reading leap seconds from the right/UTC timezone and
leap-second.list file. Log a warning message if the leapsectz or
leapseclist directive is present in the config file.
Hardcode the TAI-UTC offset and always set it for the system clock on
start.
-
dbef7019
by Miroslav Lichvar at 2026-11-05T11:02:11+01:00
refclock: use hardcoded TAI-UTC offset
Simplify the refclock specific TAI->UTC conversion as the offset is a
constant now.
-
09fc90c5
by Miroslav Lichvar at 2026-11-05T11:02:11+01:00
sources: drop leap second support
Replace the leap status in the source instance with a simple
"synchronised" flag and remove the leap voting support.
Keep updating the reference leap/sync status from status updates of
the combined sources between updates of the best source.
-
f2e7bbb8
by Miroslav Lichvar at 2026-11-05T11:19:33+01:00
reference: drop leap second support
Replace the leap status parameter with a "synced" or "local" flag in the
REF functions and drop support for the four different leap second
handling modes. Log a warning message if the leapsecmode directive is in
the config file.
-
957b3a82
by Miroslav Lichvar at 2026-11-05T11:19:40+01:00
smooth: drop leap second support
Remove support for the leap-only time smoothing (leap smear). If the
leaponly option is in the smoothtime directive, disable time smoothing
completely for compatibility and log a warning message.
-
78f8bf33
by Miroslav Lichvar at 2026-11-05T11:19:40+01:00
local: drop leap second support
Remove functions for leap second setting, notification, and system
driver calls.
-
2a4c7845
by Miroslav Lichvar at 2026-11-05T11:19:48+01:00
sys_timex: drop leap second support
Remove support for setting the STA_INS and STA_DEL status flags.
Set the TAI-UTC offset and log the "System clock TAI offset set" message
only when it's not already set to the expected value, assuming some
other system component will eventually take the responsibility of
setting the offset. Absence of the log message will confirm that.
-
c97d8083
by Miroslav Lichvar at 2026-11-05T11:21:50+01:00
example: update example config files
Remove the warning triggering directives specific to leap seconds from
the example config files.