Package: sysv-rc Version: 2.88dsf-41 Severity: wishlist File: /usr/sbin/update-rc.d User: pkg-systemd-maintain...@lists.alioth.debian.org Usertags: integration
Hi Roger, as briefly discussed on IRC, I'd like to see a "is-enabled" command added to update-rc.d which can be used to query, if a SysV init script has been enabled or not. The update-rc.d enable|disable interface is vastly superior to the DISABLED flags in /etc/default/foo config files and the is-enabled command would suplement that. One area where we would like to make use of the "is-enabled" command is for packages whish want to add support for systemd. When packages add native systemd service files, the initial state of the systemd service should be based on what the SysV service is using. I.e., if a SysV service has been disabled by the system administrator, this should be respected by the systemd service, too. For that we need to be able to query the state of the SysV service when the package is upgraded. Cheers, Michael -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sysv-rc depends on: ii debconf [debconf-2.0] 1.5.49 ii insserv 1.14.0-5 ii sysvinit-utils 2.88dsf-41 Versions of packages sysv-rc recommends: ii lsb-base 4.1+Debian9 Versions of packages sysv-rc suggests: pn bum <none> pn sysv-rc-conf <none> -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org