subgraph / citadel

Subgraph Citadel image builder
17 stars 14 forks source link

Timezone cannot be changed by user #2

Open brl opened 6 years ago

brl commented 6 years ago

Gnome changes the timezone by sending requests over the org.freedesktop.timedate1 dbus interface which is implemented by systemd-timedated.

systemd-timedated reads and changes the timezone by expecting a symlink /etc/localtime to exist and point to a subdirectory of /usr/share/zoneinfo/. There is not any flexibility to change where to find the /etc/localtime symlink, it's hardcoded into systemd and the code will not follow additional symlinks.

I don't see a way to fix this without patching systemd, and least intrusive patch would be to just replace the path /etc/localtime with /storage/citadel-state/etc/localtime.