[tz] The zoneinfo file system tree structure ?
bww at acm.org
Fri Feb 13 21:39:51 UTC 2015
On Fri, Feb 13, 2015 at 2:52 PM, <random832 at fastmail.us> wrote:
> Do we know if other packages like ntp are actually able to handle the
> "right" situation correctly, even _with_ the appropriate UTC zone
> installed? Nevermind the fact that no-one actually uses
> time2posix/posix2time, and there's been no real effort to identify
> programs that need it (any tar archiver would be an example) and
> evangelize these functions to those projects. Maybe it's time to stop
> shipping these files entirely, and ask some serious questions about the
> future of leap second support.
> I think the core problem is that the use of a numeric time_t-like format
> for representing leap-aware timestamps is an attractive nuisance in a
> world where POSIX mandates a non-leap-aware version. If anything, I
> think the most likely conclusion is that these maintainers are likely
> trying to maintain backwards compatibility for people who do broken
> things like TZ=right/whatever not knowing any better.
Back in the late '80s, when this stuff was first written, I ran a system
using a "right clock" and found that it required surprisingly few
time2posix()/posix2time() calls to (appear to) work. One such call was
certainly in NTP, and there were a few others in programs that attempted to
do time_t arithmetic (like cron). Raw timestamps stored in file systems
and sent in other network protocols did not appear to cause major issues,
but this was before the days of widespread interconnection. I'm sure
things are infinitely worse now.
My intent was certainly to demonstrate an alternative to the POSIX
definition, in which clocks did not need to be adjusted over leap seconds
and time_t's where more opaque. With equal certainty I conclude that it
didn't catch on.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tz