You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cgroup ownership (delegation chown) is only implemented in the systemd cgroup manager, not the fs driver #66
The OCI runtime-spec "cgroup ownership" semantics (chown the container's cgroup to the host UID mapping container root, when the container has a private cgroup namespace and cgroupfs is mounted rw) are only implemented for the systemd cgroup driver. With the default fs driver, the cgroup is left owned by init-ns root, so a userns container gets an rw cgroupfs mount whose files are all owned by an unmapped user (nobody:nogroup) and cannot use the delegation it was seemingly granted.
This makes containerd's cgroup_writable CRI option (containerd 2.1+) non-functional for hostUsers: false Kubernetes pods on any host using the fs driver - e.g. distros without systemd (Talos Linux), where the systemd driver is not available at all.
I imagine more users will run into this, given that this flag (cgroup_writable) will soon land in Kubernetes's securityContext as well.
Activity
kolyshkin commentedon Aug 5, 2026
This functionality was initially added by opencontainers/runc#3057, and it was specifically limited to systemd cgroup manager.
From the cursory look, I don't see anything that would prevent from adding the same to fs2 manager.
Feel free to open a PR @eplightning
fs2: support OwnerUID