Re: initialization vs supervision

From: Laurent Bercot <>
Date: Sat, 26 Jul 2014 23:54:18 +0100

On 26/07/2014 20:47, Joan Picanyol i Puig wrote:
> What "tricky" responsabilities are you thinking of for /sbin/init that
> would make it Linux specific?

  s6-svscan wants a read-write directory to run in, and another to
run its logger in. I definitely want to support read-only root
filesystems, and it's too early to mount disks, so a tmpfs has to
be created - this is system-dependent. If you have a way to do
that in a system-agnostic way, I'm *very* interested. :)

  Also system-dependent is the list of early services you want
operational as soon as s6-svscan starts (and thus need to be copied
or linked to the scan directory before the exec): not every system
wants udevd, not every system has the same getty invocation, etc.
The linking itself can probably be done in a system-agnostic way,
though, and the early service definition left to the packagers, so
it's not as important.

Received on Sat Jul 26 2014 - 22:54:18 UTC

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