Description of problem: Not-compressed tzdata takes a considerable amount of storage(du -hc -> 7.4M). Would it be possible to split it into two subpackages, UTC and the rest? Many container deployments would benefit from the ability to install just UTC. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
*** Bug 1733452 has been marked as a duplicate of this bug. ***
I've been discussing this with Patsy and in general we discussed the following steps: - Identify critical minimum tzdata install to boot a system in UTC time. - Split up package such that we can have UTC-only containers. - Default Fedora install should have all of tzdata. - Default fedora-minimal containers should be able to get to just UTC tzdata installed e.g. tzdata-minimal. - The glibc team needs to verify and fix glibc TZ fallout which always prints the setup TZ env var name and do something more intelligent.
This was taken upstream and rejected. Instead the simpler plan is going to be: - Allow complete tzdata removal. - Loosen dep in glibc. - Test anaconda can still install systems with tzdata by default. - Test container image can be built without tzdata. - The glibc team needs to verify and fix glibc TZ fallout which always prints the setup TZ env var name and do something more intelligent.
The tzdata removal plan has run into an issue with Python. In the case of Python the upstream sources do not work when requesting UTC zone if tzdata is not present for the UTC zone. This means we are back to a Tzdata Minimal setup that would allow packages to require minimal tzdata to operate correctly. We will continue to discuss this in Fedora Devel to get consensus for the original change which was Tzdata Minimal: https://fedoraproject.org/wiki/Changes/tzdata-minimal
This change has been accepted for Fedora 39: https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
glibc no longer requires tzdata to be installed, which starts allowing a minimal system be without tzdata. gcc removal would be next, but libstdc++ may require it for the testsuite and that needs review.
Patsy submitted a gcc PR for this: https://src.fedoraproject.org/rpms/gcc/pull-request/43
glibc and gcc no longer have a Require: for tzdata, and the Fedora changes are complete. The Fedora Minimal kickstart has been updated: https://pagure.io/fedora-kickstarts/pull-request/1001
Patsy, Could you please confirm that the Fedora images have been updated and tzdata is no longer part of fedora-minimal?
Confirmed that tzdata is no longer part of fedora-minimal.