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

2020-11-20 Thread Lorenzo
On 11/19/20 5:59 PM, Martin-Éric Racine wrote:
> Package: dh-runit
> Followup-For: Bug #968114
>

> This bug is not really fixed.  The fix was only pushed to
> experimental.  Meanwhile, packages in unstable still face this issue. 
> Given how close we are to the freeze, it would be a good idea to push
> this into unstable ASAP.

Hi,
the fix is in unstable (dh-runit 2.10.1) but the migration to testing is
blocked due to an autopkgtest failure. I have already uploaded on
mentors a new version that should unblock the migration. I want that
version to be in the incoming stable.
Please be patient until the package finds a sponsor.

Regards,
Lorenzo



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

2020-11-19 Thread Martin-Éric Racine
Package: dh-runit
Followup-For: Bug #968114

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

This bug is not really fixed.  The fix was only pushed to experimental.  
Meanwhile, packages in unstable still face this issue.  Given how close we are 
to the freeze, it would be a good idea to push this into unstable ASAP.

- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (1000, 'testing-debug'), (1000, 'testing'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 5.9.0-1-686 (SMP w/1 CPU thread)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-runit depends on:
ii  debhelper13.2.1
pn  libfile-copy-recursive-perl  
pn  libfile-slurp-perl   
pn  libtext-hogan-perl   

dh-runit recommends no packages.

dh-runit suggests no packages.

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAl+2pG0ACgkQrh+Cd8S0
17ZyXA/7BxDfgQlSdDkaEFg4+v9Sqy3r8T7POR2XXq7v6yjhTxxIvGzC21M6rfFH
vb8e4wuV7c0B7oS5YwOkSinX3LIElvJqsPxwI/8CDapTK/F4SnO+c/+Z0qzb6MDL
fcBVVpY5tU/IyBWmQRzgGfsap8JkzKXK3o/GsqHb2vW+4nxC6g4b6cljxQIeASK7
CVoeVvgBo3lhGFLMFaIaFLgfmzwoJjo71juYoJAHkChBbELbfGTNVGo6qL9R2pKl
4zI0Ln83yyJQfL/obaoW93KkSZigjoeRgZ7d9IdDURsvfi3r0fnRcfdidlj/Mejk
q/jsmM+hPINc3+uxySpsdLIqVKWfSKa6wexuyQay6OyQCNeejDzQxjObbEiq2hAK
9vmVfDoxctLiH2wbm34OGZ30L1qCNQQX4MFkqTLAaEZl5DS+a+V8tAiDU+brkZxQ
W1qVBjbFfjizVQ1TswvDWwQnGgVGm2heTchktgHXNacrNVZAEOJN9i9nddj8/7XS
4mUKfHeObV1sdYOq23T7XsEXTnSxAlnQ2OblqMutA3oqdc2DJVfVrlvkYHG9sbQ9
WVkr0NiufpI8oQDt4JbAEvty2ahx302T27/Jr3++R2pf9DvJn8FS+btsWGuLKYHb
WrE2NzSkyG6H0NBNSxE+ts7bQIOqvFR8R4fubL+SusGH+kPmQzk=
=+vVK
-END PGP SIGNATURE-



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

2020-09-03 Thread Lorenzo Puliti
Package: runit-helper
Version: 2.9.0
Followup-For: Bug #968114
Control: tag -1 confirmed
Control: tag -1 patch

Christoph,
thank you for reporting this

> | /lib/runit-helper/runit-helper: 74: sv: not found
> ...
> It looks the sv program is shipped in the runit package which is not
> installed here, hence the above error message. Also, since the

Yes, while focused on fixing a transition with runit i forgot to think
about this super obvious case.

> /lib/runit-helper/runit-helper program lacks the "set -e" setting -

The program is already 'set -e' but there are a couple of lines
that ends with '|| true' and i'm afraid i still need to do that
for now.

patch available on salsa, see
https://salsa.debian.org/Lorenzo.ru.g-guest/dh-runit/-/commit/a141af7e6bbd3068ad4e239f049c332620fbce30

Regards,
Lorenzo

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

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

-- no debconf information

-- debsums errors found:
debsums: changed file /lib/runit-helper/runit-helper (from runit-helper package)



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

2020-08-09 Thread Christoph Biedl
Package: runit-helper
Version: 2.9.0
Severity: normal
X-Debbugs-Cc: open...@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


signature.asc
Description: PGP signature