Skip to content
Commit de54e02d authored by Lennart Poettering's avatar Lennart Poettering
Browse files

nspawn: when in hybrid mode, chown() both the legacy and the unified hierarchy...

nspawn: when in hybrid mode, chown() both the legacy and the unified hierarchy to the root in the container

If user namespacing is used, let's make sure that the root user in the
container gets access to both /sys/fs/cgroup/systemd and
/sys/fs/cgroup/unified.

This matches similar logic in cg_set_access().
parent 2d3a5a73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment