Package: debhelper Version: 10.2.2 Severity: normal File: /usr/bin/dh_installinit
The urfkill package ships a systemd service file, but not SysV init script. Still, dh_installinit generates code to run update-rc.d and invoke-rc.d. This results in https://lintian.debian.org/maintainer/ken...@lexical.tw.html#urfkill I've attached the generated maintainer scripts files. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.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 debhelper depends on: ii autotools-dev 20160430.1 ii binutils 2.27.51.20161108-1 ii dh-autoreconf 12 ii dh-strip-nondeterminism 0.028-1 ii dpkg 1.18.13 ii dpkg-dev 1.18.13 ii file 1:5.29-1 ii libdpkg-perl 1.18.13 ii man-db 2.7.5-1 ii perl 5.24.1~rc3-3 ii po-debconf 1.0.20 debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 2.201608 -- no debconf information
# Automatically added by dh_systemd_start if [ -d /run/systemd/system ]; then deb-systemd-invoke stop urfkill.service >/dev/null fi # End automatically added section # Automatically added by dh_installinit if [ -x "/etc/init.d/urfkill" ]; then invoke-rc.d urfkill stop || exit $? fi # End automatically added section
# Automatically added by dh_systemd_start if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit if [ "$1" = "purge" ] ; then update-rc.d urfkill remove >/dev/null fi # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. if [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_systemd_enable if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask urfkill.service >/dev/null fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge urfkill.service >/dev/null deb-systemd-helper unmask urfkill.service >/dev/null fi fi # End automatically added section
# Automatically added by dh_systemd_enable # This will only remove masks created by d-s-h on package removal. deb-systemd-helper unmask urfkill.service >/dev/null || true # was-enabled defaults to true, so new installations run enable. if deb-systemd-helper --quiet was-enabled urfkill.service; then # Enables the unit on first installation, creates new # symlinks on upgrades if the unit file has changed. deb-systemd-helper enable urfkill.service >/dev/null || true else # Update the statefile to add new symlinks (if any), which need to be # cleaned up on purge. Also remove old symlinks. deb-systemd-helper update-state urfkill.service >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then if [ -x "/etc/init.d/urfkill" ]; then update-rc.d urfkill defaults >/dev/null invoke-rc.d urfkill start || exit $? fi fi # End automatically added section # Automatically added by dh_systemd_start if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true deb-systemd-invoke start urfkill.service >/dev/null || true fi # End automatically added section