Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rootless: remove CgroupsPath #1691

Closed
wants to merge 1 commit into from

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