I'd originally assumed that timedatectl used DBus to do the heavy lifting, and had asked the question of whether there was duplicate code to handle the symlink in both timedatectl and timedated in comment #17.
Anyways, the command to set the timezone to "Detroit" via DBus is simply:
After installing core from edge (16-2.26.3+git204.1bc8375/r2013), and running this command, it fails and I end up with the same broken link as originally reported in the bug:
$ ls -l /etc/writable/localtime
lrwxrwxrwx 1 root root 37 May 23 20:44 /etc/writable/localtime -> ../usr/share/zoneinfo/America/Detroit
That said, using timedatectl to change the timezone does work, and results in the following symbolic link:
I'd originally assumed that timedatectl used DBus to do the heavy lifting, and had asked the question of whether there was duplicate code to handle the symlink in both timedatectl and timedated in comment #17.
Anyways, the command to set the timezone to "Detroit" via DBus is simply:
sudo dbus-send --system --print-reply \ dest=org. freedesktop. timedate1 \ freedesktop/ timedate1 \ freedesktop. timedate1. SetTimezone \ "America/ Detroit" boolean:false
--
/org/
org.
string:
After installing core from edge (16-2.26. 3+git204. 1bc8375/ r2013), and running this command, it fails and I end up with the same broken link as originally reported in the bug:
$ ls -l /etc/writable/ localtime localtime -> ../usr/ share/zoneinfo/ America/ Detroit
lrwxrwxrwx 1 root root 37 May 23 20:44 /etc/writable/
That said, using timedatectl to change the timezone does work, and results in the following symbolic link:
lrwxrwxrwx 1 root root 35 May 23 16:51 /etc/writable/ localtime -> /usr/share/ zoneinfo/ America/ Detroit
I'm confused, it appears that we still haven't touched timedate1 itself yet?