-
Notifications
You must be signed in to change notification settings - Fork 4.8k
allow sys_chroot cap on SCCs #15298
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
allow sys_chroot cap on SCCs #15298
Conversation
|
@openshift/sig-security |
|
@bparees Should we allow this cap also to the building containers? Is it possible that we would need it? |
|
It is in the default set of caps from docker but we were requiring it to be dropped prior to this PR. |
|
@pweil- Was the previous comment, an answer to my question? I was asking about should we also remove it from this list:
|
Seems reasonable to remove it there if we're removing it from |
|
what's the basis for us not requiring it to be dropped any longer? s2i is using that list of caps to drop because it runs the container directly, so it needs to manage the caps independently. |
|
Some references for posterity:
|
|
@pweil- ok in that case can you remove it from the spot @php-coder noted as well? |
|
updated |
|
s2i change lgtm |
|
[test] |
|
Evaluated for origin test up to 2d59f8e |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3230/) (Base Commit: 20e72f7) (PR Branch Commit: 2d59f8e) |
|
/assign @smarterclayton bump for review |
|
PTAL @smarterclayton |
|
/lgtm as well |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pweil-, smarterclayton The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
/retest |
|
Automatic merge from submit-queue (batch tested with PRs 15834, 16321, 16353, 15298, 15433) |
|
@pweil- @bparees @php-coder |
|
@enoodle Yes, it is: $ git tag --contains 2d59f8e4c059df09e339e2bb0355cdbc6a78279e | grep 3.7
v3.7.0
v3.7.0-rc.0
v3.7.1I'd suggest you to do the following:
HTH |
|
Thanks for your help @php-coder I indeed had to request this capability directly. |
Removes the requirement to drop chroot.
@smarterclayton