From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4382 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCHv2] Add support for leap seconds in zoneinfo files Date: Fri, 6 Dec 2013 07:50:55 -0500 Message-ID: <20131206125055.GA24286@brightrain.aerifal.cx> References: <52965735.9070409@skarnet.org> <529FD33A.8000509@skarnet.org> <20131205144311.GG24286@brightrain.aerifal.cx> <52A0AA6A.60608@skarnet.org> <20131205164022.GK24286@brightrain.aerifal.cx> <52A11C0D.1080705@skarnet.org> <20131206004535.GT24286@brightrain.aerifal.cx> <52A12548.80508@skarnet.org> <20131206062908.GY24286@brightrain.aerifal.cx> <52A1A904.1000404@skarnet.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1386334262 25858 80.91.229.3 (6 Dec 2013 12:51:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2013 12:51:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4386-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 06 13:51:08 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Vous8-0002yD-BO for gllmg-musl@plane.gmane.org; Fri, 06 Dec 2013 13:51:08 +0100 Original-Received: (qmail 3686 invoked by uid 550); 6 Dec 2013 12:51:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3678 invoked from network); 6 Dec 2013 12:51:07 -0000 Content-Disposition: inline In-Reply-To: <52A1A904.1000404@skarnet.org> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4382 Archived-At: On Fri, Dec 06, 2013 at 10:37:56AM +0000, Laurent Bercot wrote: > > >The reason I asked is that it means, if you're using TAI-10, you have > >to have matching zoneinfo files for the daylight time transitions to > >work correctly. This really complicates the matter of having POSIX/TAI > >and TZ be separate... > > Yes, people using TAI-10 should also be using right/ timezones instead of > posix/ ones. That's why TZ as a test is appealing: it ensures consistency. > But at that level it's entirely the admin's responsibility to have > consistent configuration: leap-second-conscious admins won't mind doing > some extra work to have a setting that pleases them. The problem with this approach is that an individual user may unset $TZ or set it to a POSIX-syntax timezone such as "UTC" on a system where the system clock is using TAI-10. Users generally expect this to work, and their expectation is justified. Valid scripts might even use TZ=UTC as part of their functionality. Rich