← Back to team overview

touch-packages team mailing list archive

[Bug 1409594] [NEW] Useless systemd-timedated /etc/localtime symlink complain in syslog

 

Public bug reported:

systemd-timedated complain about /etc/localtime not being a symbolic
link. From syslog:

    systemd-timedated[1074]: /etc/localtime should be a symbolic link to
a timezone data file in /usr/share/zoneinfo/.

As Ubuntu (and Debian) uses a copy of /usr/share/zoneinfo/... instead of
symlink, ref.:

https://wiki.debian.org/TimeZoneChanges

“[…] In Debian releases Etch and later, /etc/localtime is a copy of the
original data file. […]”

And also what is done per configuration by dpkg-reconfigure tzdata, the
message is unnecessary at best.

The man page is also adding to the confusion by, ref:

http://manpages.ubuntu.com/manpages/utopic/en/man5/localtime.5.html


“Because the timezone identifier is extracted from the symlink target
 name of /etc/localtime, this file may not be a normal file or hardlink.”


Source:

    https://launchpad.net/ubuntu/+source/systemd

Ubuntu release:

    $ lsb_release -rd
    Description:	Ubuntu 14.10
    Release:	14.10

Package version:

    systemd:
        Installed: 208-8ubuntu8.1

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1409594

Title:
  Useless systemd-timedated /etc/localtime symlink complain in syslog

Status in systemd package in Ubuntu:
  New

Bug description:
  systemd-timedated complain about /etc/localtime not being a symbolic
  link. From syslog:

      systemd-timedated[1074]: /etc/localtime should be a symbolic link
  to a timezone data file in /usr/share/zoneinfo/.

  As Ubuntu (and Debian) uses a copy of /usr/share/zoneinfo/... instead
  of symlink, ref.:

  https://wiki.debian.org/TimeZoneChanges

  “[…] In Debian releases Etch and later, /etc/localtime is a copy of
  the original data file. […]”

  And also what is done per configuration by dpkg-reconfigure tzdata,
  the message is unnecessary at best.

  The man page is also adding to the confusion by, ref:

  http://manpages.ubuntu.com/manpages/utopic/en/man5/localtime.5.html

  
  “Because the timezone identifier is extracted from the symlink target
   name of /etc/localtime, this file may not be a normal file or hardlink.”


  Source:

      https://launchpad.net/ubuntu/+source/systemd

  Ubuntu release:

      $ lsb_release -rd
      Description:	Ubuntu 14.10
      Release:	14.10

  Package version:

      systemd:
          Installed: 208-8ubuntu8.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1409594/+subscriptions


Follow ups

References