Package: runit Version: 2.1.2-56 Severity: normal X-Debbugs-Cc: plore...@disroot.org
Control: affects -1 runit-services This was reported downstream but it affects Debian as well; runit uses /lib/lsb/init-functions.d/40-runit code to intercept calls to sysvinit scripts, when on the system an equivalent native runit services exists. This is to avoid conflicts and duplicate instances. However sysv scripts can define non standard actions (such as log rotation) that are not defined in runit's sv(8) control program. So it could be useful to forward such actions to the sysv script even when there is a runit services active. An example where this is useful is rsyslogd and many httpd servers. It should be considered that this strategy is not guaranteed to work, but it This strategy works for services that I've considered so far but it may not work for others: the sysv script uses the PID file (likely in /run/) while runit (actually runsv) maintain the PID process in it's own file inside the service directory, so a mismatch will break this. the alternative would be to define runit timers or oneshots companion services for each non standard actions but it's too expensive for now -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Kernel: Linux 6.1.0van (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_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) Versions of packages runit depends on: ii libc6 2.37-10 ii runit-helper 2.16.1 ii sysuser-helper 1.3.9+really1.4.3 Versions of packages runit recommends: ii runit-init 2.1.2-56 Versions of packages runit suggests: ii runit-services 0.7.0 ii socklog 2.1.0+repack-5 ii ucspi-unix 1.0-2 pn zsh <none> -- Configuration Files: /etc/default/runit changed [not included] /etc/runit/runsvdir/single/sulogin/run [Errno 2] No such file or directory: '/etc/runit/runsvdir/single/sulogin/run' -- no debconf information -- debsums errors found: debsums: changed file /lib/lsb/init-functions.d/40-runit (from runit package) debsums: changed file /lib/runit/trigger_sv (from runit package)