use sinit as bootstrapper init system which calls /bin/rc.init, and /bin/rc.shutdown when the respective signal is received
/bin/rc* will be symlinks to /bin/sinitc
"real" init system written in Rust: maps argv[0] to calls to init(), and shutdown()
services are configured via TOML files in /etc/sinitc/<service name>
aimed at simple and fast dependency resolution: easier than something like systemd because the only things we care about are applications running inside a container which comes preconfigured by the container runtime anyway
Ultimately I want to be able to run dockerd inside the container and be able to have it running inside GitLab CI/CD jobs without requiring the container to run as privileged and without relying on the GitLab CI/CD serivces feature (at first).
The goal of this project will be the following:
sinit
as bootstrapper init system which calls/bin/rc.init
, and/bin/rc.shutdown
when the respective signal is received/bin/rc*
will be symlinks to/bin/sinitc
argv[0]
to calls toinit()
, andshutdown()
/etc/sinitc/<service name>
systemd
because the only things we care about are applications running inside a container which comes preconfigured by the container runtime anywayUltimately I want to be able to run
dockerd
inside the container and be able to have it running inside GitLab CI/CD jobs without requiring the container to run asprivileged
and without relying on the GitLab CI/CDserivces
feature (at first).