Re: Built-in ordering

From: Steve Litt <>
Date: Sun, 20 Sep 2015 15:49:36 -0400

On Sun, 20 Sep 2015 10:49:13 -0700
Avery Payne <> wrote:

> Regarding the use of ordering during "stage 1", couldn't you just
> have a single definition for stage 1, run through it to set up
> whatever is needed, then transition to a new system state that
> doesn't include that defintion with (insert system management here)?
> What I am trying to ask is if the down files are really necessary.

If you're willing to have a stage1 and stage2, no, it isn't. I
personally consider the existance of a separate stage1 and stage2 to be
suboptimal, and think the ability to mix ordering of runonce and
runlongs is a good thing that might be essential in some use cases.

So on suckless-init plus daemontools-encore (or s6) plus LittKit, if I
had any stage1 at all, it was just remounting / read-write, running
LittKit lk_prepare script, and then running whatever daemontools-encore
calls their svscanboot program. All the rest happens in what would
normally be called stage 2.


Steve Litt
August 2015 featured book: Troubleshooting: Just the Facts
Received on Sun Sep 20 2015 - 19:49:36 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC