s6
contents
forbundles
has been deprecated, usecontents.d
insteaddependencies
has been deprecated, usedependencies.d
insteads6-rc-db
does not do topological sorting on compiled databases when listing dependencies (open a feature request)/dev/fd
exists on other unices and is provided under Linux for compatibility./proc/*/fd
is specific to Linux.sysctl()
the syscall is officially deprecated, but the binarysysctl
is what is recommended nowadays and uses/proc/sys
- Do not mount
/dev/shm
as we’re symlinking it to/run/shm
which is alsotmpfs
/tmp
is a symlink to/run/tmp
which gets created on every boot (the symlink however gets created only once at the start of bootstrapping/installing the system/tmp
).ICE-unix
and.X11-unix
in/tmp
belong to Xorg and have been removedfsck
depends onsys
to check for some features (and we should leave it to the initramfs?)- Consider having a
virtual
or adev
to bundle some services (likecore
,devpts
,fd
andshm
) - We want to be initramfs agnostic, so use mountpoint to check for
proc
andsys
(no need fordevtmpfs
becuase the kernel has options for automount and we can control that) - We need
cgroup2
to be used as older versions rely ontmpfs
on/sys/fs/cgroup
66
,anopa
andslew
are based on s6/s6-rcefivars
gets automatically mounted over at/sys/efi/firmware/efivars
when usingbooster
; requires a separate service foriso
New Service Manager
- https://skarnet.com/projects/s6/
- https://skarnet.com/projects/s6/frontend/
- https://skarnet.com/projects/s6/frontend/servicefiles.html
- https://skarnet.com/projects/s6/rc/
- https://skarnet.com/projects/s6/rc/concepts.html
- https://skarnet.com/projects/s6/rc/s6-rc-compile.html
- https://skarnet.com/projects/s6/rc/s6-rc-db.html
- https://skarnet.com/projects/s6/rc/s6-rcd.html
- https://skarnet.com/projects/s6/rc/s6-rc.html
- https://skarnet.com/projects/s6/rc/services.html
Resources
- https://codeberg.org/alecStewart1/gentoo-s6-scripts
- https://codeberg.org/git-bruh/s6-scripts
- https://gitea.artixlinux.org/artix/s6-scripts
- https://github.com/chris2511/meta-s6-rc
- https://github.com/dslm4515/MLFS-S6-Bootscripts/tree/sh-shell
- https://github.com/formula-spectre/s6-rc
- https://github.com/jhuntwork/merelinux
- https://github.com/just-containers/s6-overlay
- https://github.com/MichaelDeets/s6-scripts
- https://github.com/mumahendras3/sl6ckware
- https://github.com/skarnet/lh-bootstrap/tree/master/layout/rootfs/etc/s6-rc/source-base
- https://gitlab.alpinelinux.org/PureTryOut/dinit-alpine
- (laurent replies here) https://www.reddit.com/r/AlpineLinux/comments/ug3ipr/any_news_about_migration_from_openrc_to_s6/
- https://www.youtube.com/watch?v=_ULy7jBnXdo