Page MenuHomeVyOS Platform

Fix timezone migrator (system 13-to-14)
Closed, ResolvedPublicBUG

Description

The migration script system 13-to-14 executes find /usr/share/zoneinfo/posix -type f -or -type l | sed -e s:/usr/share/zoneinfo/posix/:: to find a list of valid timezones. This command only returns the first level of the timezones (continent etc.) resulting in the migrator changing valid timezones to UTC.

We should update the migrator to use systemd-provided command timedatectl list-timezones to get a valid list and prevent valid timezones being mistakenly changed.

Details

Version
1.3 and up
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

sarthurdev changed the task status from Open to In progress.
sarthurdev claimed this task.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.4) board.