Bug#968114: /lib/runit-helper/runit-helper: 74: sv: not found

Christoph Biedl <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <1596953334__10462.3031149217$1596954805$gmane$org@msgid.manchmal.in-ulm.de>
Package: runit-helper
Version: 2.9.0
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

during an openssh-server upgrade I noticed:

| Setting up openssh-server (1:8.3p1-1) ...
| Installing new version of config file /etc/init.d/ssh ...
| Installing new version of config file /etc/ssh/moduli ...
| Installing new version of config file /etc/sv/ssh/finish ...
| Installing new version of config file /etc/sv/ssh/log/run ...
| rescue-ssh.target is a disabled or a static unit, not starting it.
| /lib/runit-helper/runit-helper: 74: sv: not found


The invocation is found in /var/lib/dpkg/info/openssh-server.postinst

| # Automatically added by dh_runit/UNDECLARED
| # Unlike postrm, I can be sure, that runit-helper is present on
| # postinst.
| NAME='ssh' ENABLE='yes' SINCE='1:8.0p1-5' /lib/runit-helper/runit-helper postinst "$@"
| # End automatically added section


It looks the sv program is shipped in the runit package which is not
installed here, hence the above error message. Also, since the
/lib/runit-helper/runit-helper program lacks the "set -e" setting -
something I consider a weakness - impact is rather low. Still this
signalizes something went wrong.

Please deal with the situation in a sane way: Add "set -e" but make sure
this will not break everyone's workflow.

Regards,

    Christoph


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.54 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAl8vlbQACgkQxCxY61kU
kv0l4w/8CLPiXfUW116q9mQWZjnXzs/qEzb4HsF+ZJlM4pz6betPoUAH9LOnpeYR
HLOpDdSyQZvbFCWghmMCS3//eLnSWZqQGDC1A6dx2Cj1f73GvpJz7hHP19jAYY28
Tyegj9ZE1Hi3y5pFu98tTC5F3h+0Xdyn6zzXpkZfPOBKIVY9UV32vkQjyt58bozQ
sWAEmwnZWKsBhmL3EYoiFfz+PEIBtzBEwSprjuXfKBD2fUKDxbbNsCj7dv+5+R/I
nFjnZQEzdfiBikXYODOZueP75TdDwfjIVnfsFNx8WPyKLHFb0fOnROrJ4Qvjfz6w
W8AJzuNtE/ZGurVV8/NHXdHH0wjkOvlQ7gv2sN9f012PfCpyxa6CAiC0R5n+xNUd
ebtmh8C7ddAos//ZWwnvDqQjERaVFeuT96xqSAnCZfdUsJ+bClNFMAZhklNPo7Y8
EI9c604ij71D19b852kyZ/bKhnrxMUCasob5acZaq2N/gsuOZ0fMbbgH3ObvDMrK
n6WTCqrZPx1zX6we/1k9ffRpATNDXfHkU2A1Th6bnckaQ16RrIMbR1ZVpNJU3IcU
n02hmNeokdf+miBwwMbCh9YnL1IWo1UvlaoEPF7y2+R4epYUuV7uGktH9F7A8e37
VtHG4fVDy4S5/DhSZ5kAk5ZW3pqcKtvdUVZ65PDFre9Emrv2lpo=
=UjHA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.