Package: init-system-helpers Version: 1.46 Severity: wishlist Atm we have 3 different implementations when trying to enable a systemd service. They are found in a/ update-rc.d b/ deb-systemd-helper c/ systemctl
systemctl is obviously the reference implementation, but we can't rely on it being available always. But after having merged update-rc.d into init-system-helpers, it seems now feasible to consolidate the two implementation in update-rc.d and deb-systemd-helper. Both are perl scripts, so moving the common functionality into a perl library seems the most obvious approach. We could also make update-rc.d/deb-systemd-helper use systemctl by default when available, and only use our own code as fallback. This would mean though, that our code would get less testing and would most likely bitrot. So I would not do that for now. -- 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.8.0-2-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.24.1~rc4-1 init-system-helpers recommends no packages. init-system-helpers suggests no packages. Versions of packages init-system-helpers is related to: pn insserv <none> -- no debconf information -- debsums errors found: debsums: changed file /usr/sbin/invoke-rc.d (from init-system-helpers package)