Miroslav Lichvar pushed to branch master at chrony / chrony
Commits: 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. - - - - - 41 changed files: - Makefile.in - candm.h - cmdmon.c - conf.c - conf.h - doc/chrony.conf.adoc - doc/chronyc.adoc - doc/faq.adoc - examples/chrony.conf.example2 - examples/chrony.conf.example3 - − leapdb.c - − leapdb.h - local.c - local.h - localp.h - main.c - ntp_core.c - refclock.c - reference.c - reference.h - reports.h - smooth.c - smooth.h - sources.c - sources.h - sys_generic.c - sys_generic.h - sys_macosx.c - sys_null.c - sys_openbsd.c - sys_timex.c - test/simulation/106-refclock - test/simulation/110-chronyc - − test/simulation/113-leapsecond - − test/simulation/124-tai - test/system/test.common - − test/unit/leapdb.c - − test/unit/leapdb.list - test/unit/sources.c - test/unit/test.c - util.h View it on GitLab: https://gitlab.com/chrony/chrony/-/compare/7fab5413c58eccc91d81d940ec75654fd23e1d36...c97d8083cf9a9edc64d53236565916d326d8a109 -- View it on GitLab: https://gitlab.com/chrony/chrony/-/compare/7fab5413c58eccc91d81d940ec75654fd23e1d36...c97d8083cf9a9edc64d53236565916d326d8a109 You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
