[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: runit-helper
Version: 2.9.0
Severity: normal
X-Debbugs-Cc: openssh@packages.debian.org

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

Attachment: signature.asc
Description: PGP signature


Reply to: