[chrony-dev] Chrony and leap-second table expiration |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] Chrony and leap-second table expiration
- From: Paul Eggert <eggert@xxxxxxxxxxx>
- Date: Wed, 29 Nov 2023 11:38:24 -0800
- Dkim-filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 4A7F13C011BE2
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1701286704; bh=050zd7UUU+je96OWCL2tdZQRj7fa8NzxUzX/R1Z479g=; h=Message-ID:Date:MIME-Version:To:From; b=gqHXfRsOY8SgJtoVPHdvAmk6habLcuUAOiIe7CluJ0Ta4aBWW5LN/JbMe57EBibVN RqzE2hqfxoprmR1njsRfWqsRDjLAr74/NW4yIyAfoy5OowApaOsk90vt+WmfTEeyI7 UVZtPMKAV1I6q0opZW2DVxYUOtxTFcXfyN+JXJnpORE1Z4DSytVx05cOwfRmVoXFZJ xC3yeoNgfETY+K4ptbVqm5cvZIJ+ftiAIU/xHX3+9h/y8sKYNYW10H/Xvoa9OSLcFg 1aeUdpDN18wSKWoSvw673f9J96/6+bh+36y72MNsGNXhrIuLSPRIkSwJ13SDB4TL5I Gc7NtQSM+zjow==
- Organization: UCLA Computer Science Department
The TZDB mailing list has recently been wrestling with the topic of
leap-second table expiration (see [1] and [2] for some of this).
Here's the issue. The leap-seconds.list file, maintained by Judah Levine
of NIST and redistributed by TZDB, contains a line like this:
#@ 3928521600
which in this example specifies an expiration date of 2024-06-28 00:00
UTC. The idea is that this particular leap-seconds.list file should not
be used after the expiration date, after which the file will be obsolete
and pehaps incorrect.
As I understand it, NTPsec parses this comment and rejects obsolete
leap-seconds.list files; this is the traditional ntpd behavior.
Currently Chrony does not look at the leap-seconds.list file. However,
yesterday Patrick Oppenlander proposed[3] a patch to do that.
So, three questions:
* If Chrony reads leap-seconds.list should it also look at the leap
second expiration and reject old files?
* If Chrony does not read leap-seconds.list, but instead uses the
right/UTC file, should it also look at any leap-second expiration
information in that file and reject old files? This would involve Chrony
looking at the file directly instead of relying on localtime/mktime, and
building right/UTC with TZDB's EXPIRES_LINE=1 option.
* If leap seconds are discontinued, which is a distinct possibility,
what sort of "leap second expiration" should Chrony use?
[1]: https://mm.icann.org/pipermail/tz/2023-November/033268.html
[2]: https://mm.icann.org/pipermail/tz/2023-November/033275.html
[3]:
https://listengine.tuxfamily.org/chrony.tuxfamily.org/chrony-dev/2023/11/msg00013.html
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.