Package: runit Version: 2.1.2-41 Severity: normal X-Debbugs-Cc: plore...@disroot.org
Other inits write a wtmp entry during boot and also when shutdown or reboot actions are requested. Runit currently has no such feature. Void Linux has code in its halt implementation that can write a wtmp entry see https://github.com/void-linux/void-runit/commit/8045334f08798ea91e25875539efb3b430ed3e99 maybe Void code can be imported in our shutdown implementation with minimal effort. Another option would be to use some variation of the Void code to extend the runit's utmpset utility. I prefer the latter but it requires more work on my side plus in the long term I'll have to carry on another quilt patch likely forever.. -- 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