Re: [chrony-dev] Chrony and leap-second table expiration |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] Chrony and leap-second table expiration
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 4 Dec 2023 16:31:09 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701703873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=935uM6G5I4k7bg4R414q07OTqAHVoM4rCUlcFgzuT04=; b=LHrOYys+NapE59wepczkzPpAHfMxV3G8yNZAGrhbCNgTMeGSo+9+MHMk0buePwVD88u/VZ uVljHEhEwtmZeKRtb30K5A/HyQvYHmhapoR0V5UXiFjCOjcsKtoiU2EjBwVBmox6fZlYn9 DCdbIy4O99UJkxeCC9aFsOFhAFHVQIs=
On Wed, Nov 29, 2023 at 11:38:24AM -0800, Paul Eggert wrote:
> 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?
As currently chrony works, there would be no functional difference
between rejecting old file and using old file unless someone was
interested in replaying old leap seconds.
>
> * 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.
No chance of chrony implementing its own parser. If that information
cannot be easily retrieved by system functions, it will not be used.
> * If leap seconds are discontinued, which is a distinct possibility, what
> sort of "leap second expiration" should Chrony use?
Ignoring expiration seems to be the only reasonable option to me.
--
Miroslav Lichvar
--
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.