On Wed, Dec 22, 2021 at 08:48:26AM +0000, Laurent Bercot wrote: > I want to keep the "stages" framing for s6-linux-init, because I think > it is useful: these are qualitatively different parts of the init > process. (There's a "stage 3" and a "stage 4" as well, at shutdown > time: they're handled by the s6-linux-init-shutdownd daemon.) The > framing is actually *more* useful here than in runit, where "stages" > are only sequence points and the only real hardcoded meaning is that > the system shuts down when /etc/runit/3 exits. I would like to note that the old-fashioned way to shut down -- letting `s6-svscan' exec() into a "stage-3" script, which performs the halting procedure -- is still available from slew and legacy s6-linux-init. I personally find it simpler to understand, in the cost of a lack of full compatibility with `shutdown' without relying on some `atd': <https://skarnet.org/lists/supervision/2779.html>.
-- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2022.09.20) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C