Re: [Ntp] Antw: Re: Finding leap-seconds.list

Paul Eggert <eggert@cs.ucla.edu> Mon, 12 November 2018 17:42 UTC

Return-Path: <eggert@cs.ucla.edu>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3EFD130E53 for <ntp@ietfa.amsl.com>; Mon, 12 Nov 2018 09:42:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IE_2Q4zs5bV5 for <ntp@ietfa.amsl.com>; Mon, 12 Nov 2018 09:42:55 -0800 (PST)
Received: from zimbra.cs.ucla.edu (zimbra.cs.ucla.edu [131.179.128.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB349130DE2 for <ntp@ietf.org>; Mon, 12 Nov 2018 09:42:55 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9310E1600BC; Mon, 12 Nov 2018 09:42:55 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4cjaLKck7mEB; Mon, 12 Nov 2018 09:42:54 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B16C51600BB; Mon, 12 Nov 2018 09:42:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TGshjv8rnuMq; Mon, 12 Nov 2018 09:42:54 -0800 (PST)
Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7A2FE1600B7; Mon, 12 Nov 2018 09:42:54 -0800 (PST)
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, Dieter Sibold <dsibold.ietf@gmail.com>, Thomas Peterson <hidinginthebbc@gmail.com>, Denis Reilly <denis.reilly@orolia.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>, martin.burnicki@meinberg.de
References: <5884DA3A-B95B-4D6B-9A31-E964CE4F02EF@gmail.com> <53bc1310-c198-557a-54ca-57b5b0af9bcb@meinberg.de> <AM6PR0602MB3733A11C62B7A0ED49F318B5FFC40@AM6PR0602MB3733.eurprd06.prod.outlook.com> <9A89609A-9A4E-41EB-A857-91252E5F6D04@gmail.com> <43c65279-12fa-4510-1d8f-b6e1b03caf7e@gmail.com> <a7d8d58b-7370-1b4c-0c70-fd775dfbf854@cs.ucla.edu> <5BE96529020000A10002E079@gwsmtp1.uni-regensburg.de>
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
Message-ID: <60beb997-114c-9011-0ba9-3bf5e4d9742c@cs.ucla.edu>
Date: Mon, 12 Nov 2018 09:42:54 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <5BE96529020000A10002E079@gwsmtp1.uni-regensburg.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/DLYbPwcpkOJsd9EhNJcV3tp9-RI>
Subject: Re: [Ntp] Antw: Re: Finding leap-seconds.list
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2018 17:42:58 -0000

Ulrich Windl wrote:
> new TZ data should be made availale whenever a new leapsecond
> file is available (or at least significantly before the last one expires).

Of course, but how long is "significantly"?

Time zone announcements are sometimes made by governments with very little 
notice; for example, we had only 39 hours' notice for last month's change to 
Morocco's rules. (These governments are being unrealistic of course, but we're 
trying to train them by arranging for their cell phones' clocks to be wrong if 
they don't give us more notice. :-) Although the tzdb process turns around such 
notices reasonably quickly we prefer being given longer notice; in that case we 
wait for a while because there is a cost to releasing a new tzdb version (a cost 
to us and more importantly to downstream users) and we'd like to lessen that 
cost by batching multiple changes into a single release. Plus, sometimes 
governments revert their changes before they take effect, or we're given false 
alarms for other reasons, and in such cases we can avoid releasing the wrong data.

In contrast, we reliably get about six months' notice for a leap second. We 
batch that into the next tzdb release, whenever it happens to occur for other 
reasons. We've never had the problem of no timezone changes for six months so 
this has been good enough for us. (We would make a release for leap seconds 
reasons only, if need be.)

Some users who need just the leap-seconds.list file have written to the tz 
mailing list saying that they don't want to wait for the next tzdb release; they 
want the latest leap-seconds.list file now, even if its set of leap seconds is 
identical to the previous set (because they also want the file's expiration 
date). These users are not well-served by the current tzdb release policy which 
is oriented for tzdb's needs, not for leap-seconds.list needs. Are these users 
primarily motivated by NTP? If so, what's the use case here and why is the 
expiration date so important? (That date is ignored by tzcode.) I can't imagine 
maintaining an NTP server without having a mechanism to update its leap second 
data that could work with (say) a month's notice which would mean that the 
current tzdata policy should be good enough, but I'm not that plugged into how 
NTP servers are actually deployed.

If the need is great enough, it'd be helpful to set up a distribution mechanism 
for just leap-seconds.list that fulfills NTP's needs better and I could talk to 
the IANA folks about doing that. Of course iana.org wouldn't want to be 
overloaded by billions of devices constantly polling it....