Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271068

Bug#1121135: Please consider shipping enclosed wrapper for runit's /lib/runit/shutdown

From Andras Korn <korn-debbugs@elan.rulez.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121135: Please consider shipping enclosed wrapper for runit's /lib/runit/shutdown
Date 2025-11-21 17:50 +0100
Message-ID <LTCuB-eFJA-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

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.

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.)

Thanks!

András

-- System Information:
Init: runit (via /run/runit.stopit)

-- 
             When you starve with a tiger, the tiger starves last.

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#1121135: Please consider shipping enclosed wrapper for runit's /lib/runit/shutdown Andras Korn <korn-debbugs@elan.rulez.org> - 2025-11-21 17:50 +0100
  Bug#1121135: Please consider shipping enclosed wrapper for runit's /lib/runit/shutdown Lorenzo <plorenzo@disroot.org> - 2025-11-23 11:30 +0100
    Bug#1121135: Please consider shipping enclosed wrapper for runit's /lib/runit/shutdown Andrew Bower <andrew@bower.uk> - 2025-11-23 13:50 +0100

csiph-web