Guillermo:
One could instead attach controllers to the hierarchy rooted in
/sys/fs/cgroup/systemd, for example by mounting it with 'mount -t
cgroup -o cpu,name=systemd cgroup /sys/fs/cgroup/systemd' (not with
system-manager as process 1), and things would appear to be OK:
It's tempting to
Hi!
By default, Docker sends a TERM signal to a container when you want to
stop it. When runit is used as init inside a Docker container, this
directly kills the runsvdir process, without really cleaning up any
child processes.
In newer Docker version you can configure STOPSIGNAL inside your
There's no obvious way to make it more efficient without significantly
exploding the amount of code, and we're talking about a scale where a
bit
of n^2 is completely negligible.
I've committed a patch that does exactly what you suggested, even if
the code is organized a bit differently.