What is it ?
s6-linux-init is a set of minimalistic tools used to create a
system, including a /sbin/init binary, on a Linux kernel.
The resulting architecture follows the Unix philosophy (one job →
one tool) as closely as possible, and is fully dedicated to the s6 way of
managing a system:
runs as process 1 for the whole machine lifetime.
- Every daemon is supervised.
- No logs are ever lost.
- Policy is entirely left to the user. Typically, any service manager
can be run on top of s6-linux-init.
Nevertheless, the architecture is fully compliant with various
empirical and historical specifications. For instance, it provides:
- utmp management compatible with sysvinit
- runlevel management, with a configurable default, overridable from the
kernel command line
- sysvinit-like commands to shut the system down, including a
shutdown command that follows the
- A Linux-based system with a standard C development environment
- GNU make, version 3.81 or later
- skalibs version
18.104.22.168 or later
- execline version
22.214.171.124 or later
- s6 version
126.96.36.199 or later
The following optional dependencies are also supported:
- If you're using musl and
want nsswitch-like functionality:
0.0.2.1 or later
- If you want secure utmp functionality:
0.0.3.1 or later
All those dependencies are build-time and run-time,
except possibly skalibs, which is not needed at run time if you are linking
all the other packages against the static version of libskarnet.
s6-linux-init is free software. It is available under the
- See the enclosed INSTALL file for installation details.
- This page lists the differences to be aware of between
the previous versions of s6-linux-init and the current one.
Unless more details are provided in an Exit codes section
of a specific page, all these commands exit 0 on success, 111 if they encounter a
temporary error (such as a system call failure) and 100 if they encounter a
permanent error (such as a misuse).
- s6-linux-init is discussed on the
- There is a #s6 IRC channel on Freenode. Sometimes people
are there and even answer questions.