mirror of
https://git.proxmox.com/git/systemd
synced 2026-02-06 04:22:52 +00:00
mount: mount all cgroup controllers in containers, too
This commit is contained in:
parent
db813c2a91
commit
3cbb76ee34
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user