[systemd-devel] [PATCH v2 0/2] Allow setting the cgroup hierarchy manually before calling nspawn

Iago López Galeiras iago at endocode.com
Wed May 13 06:45:47 PDT 2015


These two commits allow nspawn to play nicely with a cgroup hierarchy manually
set beforehand.

Iago López Galeiras (2):
  nspawn: only mount the cgroup root if it's not already mounted
  nspawn: skip symlink to a combined cgroup hierarchy if it already
    exists

 src/nspawn/nspawn.c | 33 +++++++++++++++++++--------------
 src/shared/util.c   | 23 +++++++++++++++++++++++
 src/shared/util.h   |  1 +
 3 files changed, 43 insertions(+), 14 deletions(-)

-- 
2.4.0



More information about the systemd-devel mailing list