Package: runit Version: 2.1.2-41 Severity: normal X-Debbugs-Cc: plore...@disroot.org
Shutdown that comes with runit can be called both as 'shutdown' or 'halt/reboot/poweroff'. Following the SysVinit implementation, -h, -n, -f are overlapped and have a different effect with halt or shutdown. Runit's shutdown.c does not support -n nor -h and -f forces a reboot/poweroff even if called with shutdown. Also is possible to reboot the system with a combo like 'poweroff -r' All this should be fixed. -- System Information: Debian Release: 11.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads) Kernel taint flags: 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) Versions of packages runit depends on: ii libc6 2.31-13 ii sysuser-helper 1.3.5.1 Versions of packages runit recommends: ii runit-init 2.1.2-41 Versions of packages runit suggests: ii socklog 2.1.0+repack-4+b1 -- no debconf information