Bug#821006: make_systemd_links() does not resolve symlinks

Michael Biebl biebl at debian.org
Thu Apr 14 14:44:02 BST 2016


Package: init-system-helpers
Version: 1.29
Severity: normal
File: /usr/sbin/update-rc.d

If a package ships a native service file, like NetworkManager.service,
and a static symlink, like network-manager.service,
update-rc.d enable network-manager should resolve the symlink in
make_systemd_links(), as upstream systemctl does.
Otherwise we will have a
/etc/systemd/system/multi-user.target.wants/network-manager.service
symlink, when we only want
/etc/systemd/system/multi-user.target.wants/NetworkManager.service


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719695
-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages init-system-helpers depends on:
ii  perl-base  5.22.1-9

init-system-helpers recommends no packages.

init-system-helpers suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/sbin/update-rc.d (from init-system-helpers package)



More information about the Pkg-systemd-maintainers mailing list