Bug 57111 - timedatectl: Failed to set time zone: No such file or directory
Summary: timedatectl: Failed to set time zone: No such file or directory
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: systemd (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 minor
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-03 15:33 MSK by Sergey Y. Afonin
Modified: 2025-12-30 15:02 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Y. Afonin 2025-12-03 15:33:40 MSK
timedatectl как-то странно работает (systemd 257.9 в p11 правда).

# timedatectl set-timezone Europe/Samara
# timedatectl set-timezone Europe/Moscow
Failed to set time zone: Failed to set time zone: No such file or directory
# timedatectl set-timezone Europe/Moscow
# timedatectl set-timezone Europe/Samara
Failed to set time zone: Failed to set time zone: No such file or directory
# timedatectl set-timezone Europe/Samara
#

В некоторых случаях ругается на отсутствие какого-то файла, потом срабатывает.
/etc/localtime тоже не контролирует. Если удалить, можно получить вот такое:

# rm -f /etc/localtime
# timedatectl
               Local time: Wed 2025-12-03 16:32:48 +04
           Universal time: Wed 2025-12-03 12:32:48 UTC
                 RTC time: Wed 2025-12-03 12:32:48
                Time zone: Europe/Samara (+04, +0400)
System clock synchronized: yes
              NTP service: n/a
          RTC in local TZ: no
# date
Wed Dec  3 12:32:50 UTC 2025
Comment 1 Alexey Shabalin 2025-12-30 15:02:09 MSK
установлен ли пакет tzdata?