Bug#887900: dh_installsystemd does not properly handle aliased services
Michael Biebl
biebl at debian.org
Sun Jan 21 14:44:05 GMT 2018
Package: debhelper
Version: 11.1.3
Severity: normal
I use the following in network-manager:
override_dh_systemd_start:
dh_link -pnetwork-manager \
lib/systemd/system/NetworkManager.service \
lib/systemd/system/network-manager.service
dh_systemd_start -pnetwork-manager --no-also NetworkManager.service
The background is, that traditionally, the Debian SysV init script is
called /etc/init.d/network-manager and the upstream systemd service is
named NetworkManager.service
I thus created the symlink which told dh_systemd_start to not generate
start code for NetworkManager.service (using deb-systemd-invoke) but
leave this up to invoke-rc.d network-manager
It seems this no longer works with dh_installsystemd.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debhelper depends on:
ii autotools-dev 20171216.1
ii binutils 2.29.1-13
ii dh-autoreconf 15
ii dh-strip-nondeterminism 0.040-1
ii dpkg 1.19.0.5
ii dpkg-dev 1.19.0.5
ii file 1:5.32-1
ii libdpkg-perl 1.19.0.5
ii man-db 2.7.6.1-4
ii perl 5.26.1-4
ii po-debconf 1.0.20
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.201701
pn dwz <none>
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list