On my Manjaro linux box, I have a file
/etc/timezone which contains:
Another Manjaro forum user also has the same file. That thread on the whole contains some prior art on this question.
What's strange is that
timedatectl status doesn't use this file to report
Region/City. Here's the initial status:
$ timedatectl status Local time: Fri 2018-06-29 11:01:28 +07 Universal time: Fri 2018-06-29 04:01:28 UTC RTC time: Fri 2018-06-29 04:01:28 Time zone: Asia/Bangkok (+07, +0700) System clock synchronized: no systemd-timesyncd.service active: no RTC in local TZ: no
Now I overwrite the
/etc/localtime symlink with contents of the file it points to:
$ sudo ln -f "$(realpath /etc/localtime)" /etc/localtime $ timedatectl status Local time: Fri 2018-06-29 04:04:03 UTC Universal time: Fri 2018-06-29 04:04:03 UTC RTC time: Fri 2018-06-29 04:04:04 Time zone: n/a (UTC, +0000) System clock synchronized: no systemd-timesyncd.service active: no RTC in local TZ: no
Note the local time change to match UTC, and the
timedatectl doesn't read from
timedatectl set-timezone doesn't write to
Besides that guess, my
/etc/timezone is a mystery.
- What writes it?
- What reads it?
- What for?