Tuesday 10 January 2023

Re: Dropping /usr/share/zoneinfo/posix and /usr/share/zoneinfo/right from tzdata

On Mon, Jan 09, 2023 at 07:01:05PM +0100, Benjamin Drung wrote:
> Hi everyone,

> The tzdata package ships /usr/share/zoneinfo/posix/ (for Coordinated
> Universal Time) and /usr/share/zoneinfo/right/ (for International Atomic
> Time). The files in /usr/share/zoneinfo/posix/ are identical to their
> counterpart in /usr/share/zoneinfo/. The tzdata package converts the
> configured posix/* and right/* timezones to their unprefixed variant on
> every package upgrade (e.g. it changes "posix/Europe/Berlin" to
> "Europe/Berlin").

> Is there anybody actually using /usr/share/zoneinfo/posix or
> /usr/share/zoneinfo/right?

> Aurelien and I assume that probably nobody is using them. We plan to
> drop both directories. If nobody speaks up, I will remove them in the
> coming weeks from the Ubuntu tzdata package prior to the feature freeze.
> After the Debian 12 "bookworm" release, we will remove it from Debian.

In addition to fixing (or at least conflicting with) the bits identified via
a code search (thanks, Shengjing!), I want to assert that the upgrade should
take care of any references to these obsoleted compat links in /etc/timezone
or /etc/localtime. Even if the debconf automation never presented these as
options to the user, we shouldn't break the default system timezone on
upgrade.

You may already have this in your plan, so just making sure!

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org