[systemd-devel] [PATCH] timedated: gather timezone from /etc/localtime sym target

Tom Gundersen teg at jklm.no
Wed Aug 8 11:51:08 PDT 2012


On Wed, Aug 8, 2012 at 6:51 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> So, dunno, I think this is something to think about first, discuss the
> pros and cons. I see that just having this as symlink is much simpler,
> no doubt, but does it have more benefits? And possibly more
> disadvantages?

I'd very much like /etc/timezone to go away.

Mainly due to two reasons: /etc/localtime and /etc/timezone are likely
to get out-of-sync (we have the same problem now in Arch where the
timezone is stored in /etc/rc.conf rather than in /etc/timezone and it
brings us nothing but grief). Also, if /etc/localtime is not a symlink
we would need to update it every time the timezone package is updated,
this would of course be possible, but it seems unnecessary.

-t


More information about the systemd-devel mailing list