Package: dh-runit
Version: 2.8.7
Severity: wishlist

Dear Maintainer,

when upgrading package to version, introduced runscript,
symlink in /etc/service do not appear due following check in
runit-helper:

   if [ "${ENABLE}" = yes ] && [ -z "${previous}" ] ; then
        ln -sf "/etc/sv/$NAME" "/etc/runit/runsvdir/default/$NAME"
   fi

This "-z" check is required to not override admins decision to disable
service (#899242), not also causes described problem when introducing
runscript.

I think, we need to add one more option to dh-runit, introduced-at,
which would convey information, whether version being installed is first
with runscript, and behave accordingly.

-- System Information:
Debian Release: buster/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), 
(1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=eo.utf8, LC_CTYPE=eo.utf8 (charmap=UTF-8), LANGUAGE=eo.utf8 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

Versions of packages dh-runit depends on:
ii  debhelper  12.1

dh-runit recommends no packages.

dh-runit suggests no packages.

-- no debconf information

Attachment: pgpC7nsBhVU9x.pgp
Description: PGP signature

Reply via email to