Summary: | sys-libs/timezone-data: remove /etc/timezone? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | systemd |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40609 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
![]() ![]() ![]() ![]() The ebuild already removes /etc/timezone when creating /etc/localtime as a symlink. We don't remove it if /etc/localtime exists as a regular file. I think the next logical step would be to forcibly convert /etc/localtime from a regular file to a symlink when timezone-data is upgraded. Perhaps it should also remove it (or at least verbosely warn about it) when /etc/localtime is a symlink already. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311832fc268b9b62bd996fafdcbde0eafd3ab817 commit 311832fc268b9b62bd996fafdcbde0eafd3ab817 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2025-02-17 02:02:24 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2025-02-17 21:24:07 +0000 sys-libs/timezone-data: remove /etc/timezone if localtime is a symlink Closes: https://bugs.gentoo.org/949812 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-libs/timezone-data/timezone-data-2025a.ebuild | 4 ++++ 1 file changed, 4 insertions(+) |