1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-18 06:03:42 +03:00

mount: mount all cgroup controllers in containers, too

This commit is contained in:
Lennart Poettering 2013-03-22 04:42:48 +01:00
parent db813c2a91
commit 3cbb76ee34

View File

@ -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);