]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: userns and unified cgroup: chown cgroup.events 2233/head
authorAlban Crequy <alban@kinvolk.io>
Tue, 8 Dec 2015 00:16:07 +0000 (01:16 +0100)
committerAlban Crequy <alban@kinvolk.io>
Mon, 28 Dec 2015 13:30:56 +0000 (14:30 +0100)
commitaa3be0dd36bae7f32daa35bc269d87f0d809d52f
tree658f05a4ccc0c91c0c7210b4d568eb851e9cd347
parentad798a641a775e795dc32916d57a3d16cebc8a7d
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.
src/nspawn/nspawn-cgroup.c