Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 6 Dec 2013 07:50:55 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: [PATCHv2] Add support for leap seconds in zoneinfo files

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.