Page MenuHomePhabricator

/etc/localtime should be a symbolic link
Closed, ResolvedPublic

Description

systemd-timedated seems to want /etc/localtime as a symlink, in our case we should link to /usr/share/zoneinfo/UTC.

Feb 10 12:29:55 cp4009 systemd-timedated[34985]: /etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/.

Event Timeline

I've looked into this and this; it is harmless and the default behaviour in jessie. tzdata was changed to create a symlink on new installations (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803144), so this is changed/fixed for stretch. For jessie this is harmless logspam/expected behaviour (and happens only twice per hour with the reduced interval for the Icinga check). I don't think it's worth to retroactively change jessie's behaviour (and we might see subtle breakage in other places).