[arch-general] /etc/timezone and /etc/localtime
Hello all, Does anyone know why both /etc/timezone and /etc/localtime are required for systemd? It looks like duplicated data. Also, "man 5 timezone" seems to flash something for a split second and close, which is also rather strange... Paul
On Wed, Aug 15, 2012 at 8:48 PM, Paul Gideon Dann <pdgiddie@gmail.com>wrote:
Hello all,
Does anyone know why both /etc/timezone and /etc/localtime are required for systemd? It looks like duplicated data. Also, "man 5 timezone" seems to flash something for a split second and close, which is also rather strange...
Paul
"man 5 timezone" seems to be working fine. AFAIK /etc/localtime is a symlink to your time zone file (/usr/share/zoneinfo/[your timezone]) which depends on what you set in your /etc/timezone. -- Aurko Roy GPG key: 0x20C5BC31 Fingerprint:76B4 9677 15BE 731D 1949 85BA 2A31 B442 20C5 BC31
On Wed, Aug 15, 2012 at 5:18 PM, Paul Gideon Dann <pdgiddie@gmail.com> wrote:
Does anyone know why both /etc/timezone and /etc/localtime are required for systemd? It looks like duplicated data. Also, "man 5 timezone" seems to flash something for a split second and close, which is also rather strange...
It was originally introduced for compatibility with other distros. However, we have requested it be dropped as it is indeed not needed any longer (it used to be when /usr might not be mounted on early boot). There are patches to deprecate /etc/timezone on the systemd mailinglist and replace the manpage with one documenting localtime instead. They have been through some rounds of reviews so hopefully they'll go in in the near future. -t
Does anyone know why both /etc/timezone and /etc/localtime are required for systemd? It looks like duplicated data. Also, "man 5 timezone" seems to flash something for a split second and close, which is also rather strange...
/etc/timezone is not needed really. I just created symlink (/etc/localtime) and everything works fine. As I know /etc/timezone still exists for compatibility but there are plans to drop it.
participants (4)
-
Aurko Roy
-
brainworker@lavabit.com
-
Paul Gideon Dann
-
Tom Gundersen