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

Bug #1409594 reported by Ola Asfalt
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Unassigned

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in systemd (Ubuntu):
status: New → Confirmed
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: Confirmed → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.5 KiB)

This bug was fixed in the package systemd - 218-5ubuntu1

---------------
systemd (218-5ubuntu1) vivid; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - Hack to support system-image read-only /etc, and modify files in
      /etc/writable/ instead.
    - Keep our much simpler udev maintainer scripts (all platforms must
      support udev, no debconf).
    - initramfs init-top: Drop $ROOTDELAY, we do that in a more sensible way
      with wait-for-root. Will get applicable to Debian once Debian gets
      wait-for-root in initramfs-tools.
    - initramfs init-bottom: If LVM is installed, settle udev,
      otherwise we get missing LV symlinks. Workaround for LP #1185394.
    - Add debian/udev.lvm2.init: Dummy SysV init script to satisfy insserv
      dependencies to "lvm2" which is handled with udev rules in Ubuntu.
    - Provide shutdown fallback for upstart. (LP: #1370329)
    - debian/extra/ifup@.service: Additionally run for "auto" class. We don't
      really support "allow-hotplug" in Ubuntu at the moment, so we need to
      deal with "auto" devices appearing after "/etc/init.d/networking start"
      already ran. (LP: #1374521)
    - Add Get-RTC-is-in-local-time-setting-from-etc-default-rc.patch: In
      Ubuntu we currently keep the setting whether the RTC is in local or UTC
      time in /etc/default/rcS "UTC=yes|no", instead of /etc/adjtime.
      (LP: #1377258)
    - Put session scopes into all cgroup controllers. This makes unprivileged
      user LXC containers work under systemd. (LP: #1346734)
    - Lower Breaks: to plymouth version which has the udev inotify fix in
      Ubuntu.
    - Lower libappamor1 dep to the Ubuntu version where it moved to /lib.
    - Make failure of boot-and-services NSpawn.test_boot non-fatal for now.
      This currently fails when being triggered by Jenkins, but is totally
      unreproducible when running this manually on the exact same machine.

    Upgrade fixes, keep until 16.04 LTS release:
    - systemd Conflicts/Replaces/Provides systemd-services.
    - Remove obsolete systemd-logind upstart job.
    - Clean up obsolete /etc/udev/rules.d/README.

systemd (218-5) experimental; urgency=medium

  * Drop logger.agent. It hasn't been called from any udev rule for a long
    time, and looks obsolete.
  * debian/rules: Configure with --disable-firstboot to replace some manual
    file removals.
  * debian/rules: Remove manual file installation, move them to
    debian/*.install. Move all Debian specific installed files to
    debian/extra/.
  * Merge some changes from the Ubuntu package to reduce the delta; these only
    apply when building on/for Ubuntu:
    - Add 40-hyperv-hotadd.rules: Workaround for LP: #1233466.
    - Add 61-persistant-storage-android.rules to create persistent symlinks
      for partitions with PARTNAME. By Ricardo Salveti.
    - Add 71-power-switch-proliant.rules for supporting the power switches of
      ProLiant Server Cartridges. By Dann Frazier.
    - Add 78-graphics-card.rules: Mark KMS capable graphics devices as
      PRIMARY_DEVICE_FOR_DISPLAY so that we can wait for those in plymouth.
      By Scott James Remnant.
    - Don't install the...

Read more...

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.