[systemd-devel] [PATCH 1/2] nspawn: only mount the cgroup root if it's not already mounted

2015-05-13 Thread Iago López Galeiras
This allows the user to set the cgroups manually before calling nspawn. --- src/nspawn/nspawn.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 2f7dd53..c67cab2 100644 --- a/src/nspawn/nspawn.c +++

Re: [systemd-devel] [PATCH 1/2] nspawn: only mount the cgroup root if it's not already mounted

2015-05-13 Thread Lennart Poettering
On Wed, 13.05.15 11:15, Iago López Galeiras (i...@endocode.com) wrote: This allows the user to set the cgroups manually before calling nspawn. I think it would be better to simply move mounting of /sys/fs/cgroup into the array at the top of mount_all(), which already does this