Re: nosh version 1.31

2017-01-30 Thread Jonathan de Boyne Pollard
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

Allow configurable behavior of TERM signal for runsvdir

2017-01-30 Thread Mitar
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

Re: ftrigr bug

2017-01-30 Thread Laurent Bercot
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.