-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Allow setgroups
in user namespaces
#10741
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
Conversation
Hi @mbaynton. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@mbaynton thanks for catching this! I can confirm (I've just verified it) that before #10607 the userns was created by runc and setgroups was "allow". crun does the same. There is no field in CRI nor runtime-spec to toggle this, so adding it unconditionally here as this PR does, seems the right thing to me. I've also read the manpage, the security considerations stated there don't really apply for our usage (probably why runc and crun default to true too). @mbaynton can you amend the commits (not add a commit that later removes the change), sign-off the commits (CI is failing due to that) and make sure CI passes fine? Right now most test haven't run because of those failures. cc @fuweid |
It would be great to add this to the 2.0 milestone too. |
None of these commits have a |
Signed-off-by: Mike Baynton <mike@mbaynton.com>
b6d6286
to
347423a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; more detail in the linked issue; @containerd/maintainers I believe this regression needs to be fixed and added it to 2.0 milestone. Please review ASAP
/ok-to-test |
Fixes #10742