> From: Todd C. Miller <[email protected]>
> Date: Wed, 22 Apr 2026 09:39:08 -0600
> 
> On Wed, 22 Apr 2026 11:03:23 +1000, David Leadbeater wrote:
> 
> > This is because ntp.c attempts to open /usr/share/zoneinfo/right/UTC.
> > The following fixes the pledge issues. Although I don't know where
> > /usr/share/zoneinfo/right/ is supposed to come from and strangely I
> > don't see an error from failing to open this.
> 
> We don't install /usr/share/zoneinfo/right by default.  Like most
> systems, we just install the POSIX zoneinfo files and not the vesion
> that counts leap seconds.
> 
> Since the rdate -c option won't work with the default install, is
> there any reason to keep it?

I don't think there is any reason to keep it.  I believe the "right"
timezone was never really useful as it makes comparing time_t values
with POSIX systems tricky.  There are well-established sources for
leap second information that software that really cares about
leap-seconds uses.

There is a good chance leap seconds will be abolished altogether.  The
next leap second is likely to be *negative* which is something that
never happened before.  So that will trigger a whole new class of
interesting bugs ;).

Reply via email to