mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
nspawn: userns and unified cgroup: chown cgroup.events
When starting a container in a new user namespace, systemd-nspawn chowns the cgroup knob files so they are usable by the container. But the cgroup knob file "cgroup.events" was missing. This file exists when the unified hierarchy is used.
This commit is contained in:
parent
ad798a641a
commit
aa3be0dd36
@ -54,6 +54,7 @@ int chown_cgroup(pid_t pid, uid_t uid_shift) {
|
||||
"tasks",
|
||||
"notify_on_release",
|
||||
"cgroup.procs",
|
||||
"cgroup.events",
|
||||
"cgroup.clone_children",
|
||||
"cgroup.controllers",
|
||||
"cgroup.subtree_control",
|
||||
|
Loading…
x
Reference in New Issue
Block a user