systemd: fix dbus activation
commitea3643d5695a948420a70b76b718bd98a2305a6a
authorGabe Evans <gabe@hashrabbit.co>
Wed, 10 Feb 2016 23:44:03 +0000 (10 23:44 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 14 Feb 2016 22:41:13 +0000 (14 23:41 +0100)
tree8110a96459192e3980864c1468b496d171b72572
parentb5dc580b158f4790197843de1b2128025f83a0c0
systemd: fix dbus activation

Various DBus activated services fail to start with errors similar to:

  Unit dbus-org.freedesktop.hostname1.service failed to load: File exists.

The message itself is rather vague and can be seen as a warning in
systemd-networkd logs. Meanwhile, tools like hostnamectl don't work
at all.

The post-install target hook SYSTEMD_SANITIZE_PATH_IN_UNITS was replacing
symlinks with duplicate files. The find command could have used -type f
to avoid this but I instead chose to remove the hook since this fix doesn't
seem to be needed anymore.

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/systemd.mk