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

Koen Kooi koen at dominion.thruhere.net
Fri Aug 10 04:43:01 PDT 2012


Op 8 aug. 2012, om 18:51 heeft Lennart Poettering <lennart at poettering.net> het volgende geschreven:

> On Tue, 07.08.12 00:31, Shawn Landen (shawnlandden at gmail.com) wrote:
> 
>> keep other method for now, consider dropping later.
>> 
>> Supporting relative links here could be problematic as timezones in
>> /usr/share/zoneinfo are often themselves symlinks (and symlinks to
>> symlinks), so this implamentation only only support absolute links.
> 
> Hmm, I am not entirely sure this is really the best thing to do. Always
> requiring a symlink for /etc/localtime breaks a couple of things: we
> can't just bind mount things over in an nspawn container, embedded
> devices have to ship /usr/share/zoneinfo/, which is probably something
> they might want to avoid.

For the embedded systems that need TZ support I ship a subset of timezones, it's not that much data. If you're worried about the TZ sizes you shouldn't enable TZ support :)

regards,

Koen


More information about the systemd-devel mailing list