]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure systemd cgroup ownership is delegated to container with userns
authorRichard Weinberger <richard@nod.at>
Mon, 24 Feb 2014 12:23:33 +0000 (12:23 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 24 Feb 2014 15:35:47 +0000 (15:35 +0000)
commit6fb42d7cdc57da453691d043d6b9bf23e2bae15e
tree8e8d53b2d44f9b3373c4479ce2c70a6b932c190d
parent8ca5f46c5904a648ce42d481592b9b4b912a4fa3
Ensure systemd cgroup ownership is delegated to container with userns

This function is needed for user namespaces, where we need to chmod()
the cgroup to the initial uid/gid such that systemd is allowed to
use the cgroup.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/lxc/lxc_cgroup.c
src/util/vircgroup.c
src/util/vircgroup.h