summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-22 04:42:48 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-22 04:43:28 +0100
commit3cbb76ee3469998771b4e9c7ee85d8d7407a2f5a (patch)
treeedf16087ef099251250cb097174cc4c0d5ededc0 /src
parentdb813c2a9199d694f8e97618889425a2401524d6 (diff)
mount: mount all cgroup controllers in containers, too
Diffstat (limited to 'src')
-rw-r--r--src/core/mount-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index 6140f56d83..fe50fb19da 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -315,6 +315,7 @@ int mount_cgroup_controllers(char ***join_controllers) {
p.type = "cgroup";
p.options = options;
p.flags = MS_NOSUID|MS_NOEXEC|MS_NODEV;
+ p.mode = MNT_IN_CONTAINER;
r = mount_one(&p, true);
free(controller);