Hello Andras, On Fri, 21 Nov 2025 17:47:41 +0100 Andras Korn <[email protected]> wrote:
> Package: runit > Version: 2.2.0-6 > Severity: wishlist > Tags: patch > > Hi, > > runit's shutdown(8) doesn't support scheduled shutdowns. This isn't > normally a problem (if you want, you can use at(1) to schedule a > shutdown); but it breaks the > "Unattended-Upgrade::Automatic-Reboot-Time" feature of > unattended-upgrades. this looks bad enough to deserve a fix. > > I wrote a wrapper (in plain Bourne shell instead of zsh this time) for > runit's shutdown to support more of the features of systemd > shutdown(8) more or less transparently. This includes scheduled > shutdowns (which are implemented via at(1)). In my so far admittedly > fairly minimal testing it worked as intended. thanks! > > Please consider including the wrapper in the runit package and > enabling it by default. > > (I'd appreciate quick feedback on whether you will do this, because > if not, I'll build my own package, for my own use, that diverts > runit's shutdown and replaces it with my wrapper.) Long term I may try to incorporate it in shutdown.c (or call your wrapper from shutdown.c) and support the case where no at is found, but for now this looks fine. I'm going to add it to the next version of runit in unstable. Best, Lorenzo side note, not a blocker: is wall still working on Debian systems? I can't print any message with it on my system, and i found https://sources.debian.org/src/util-linux/2.41-5/debian/NEWS#L1-L9 https://tracker.debian.org/news/1515294/accepted-util-linux-2393-11-source-into-unstable/ > > Thanks! > > AndrĂ¡s > > -- System Information: > Init: runit (via /run/runit.stopit) >

