Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/timezone: make "local" timezone work when TZDIR is set
More specifically, when timezone is "local", ignore the value of TZDIR entirely - previously, ConfigureContainerTimeZone would check TZDIR first, and then look for a literal "local" timezone. This lead to a "/etc/zoneinfo/local: No such file or directory" error with `podman start` on NixOS. See: containers/podman#23550 Signed-off-by: Vivienne Watermeier <vwatermeier@igalia.com>
- Loading branch information