Skip to content

rootless: remove CgroupsPath#1691

Closed
AkihiroSuda wants to merge 1 commit intoopencontainers:masterfrom
AkihiroSuda:torootless
Closed

rootless: remove CgroupsPath#1691
AkihiroSuda wants to merge 1 commit intoopencontainers:masterfrom
AkihiroSuda:torootless

Conversation

@AkihiroSuda
Copy link
Member

Signed-off-by: Akihiro Suda [email protected]

ref: containerd/containerd#2006

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda
Copy link
Member Author

Hmm, it looks CgroupsPath should be removed only if the user lacks permission: https://github.com/opencontainers/runc/pull/1540/files

I'll update PR

@williammartin
Copy link

Yeh we did #1540 which allows rootless containers to use cgroups if the cgroup hierarchy is correctly set up for owner and permissions (this is how we do rootless containers in Garden)

@AkihiroSuda
Copy link
Member Author

Hmm, #1657 (ignore permission err) seems the simplest solution.
I'm closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants