-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[2.0] Vendor in containers/storage v1.20.4 #7549
Conversation
This will allow the passing down of the ignore_chown_errors flag from /etc/containers/storage.conf for rootless containers. Signed-off-by: Daniel J Walsh <[email protected]>
Fixes: #7513 |
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
I think this calls for tests to prevent future regressions (Cc @edsantiago). @rhatdan, do you have an idea how we could easily test it? I guess we had to set up a new uid/gid mapping ideally with a range of 1.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, vrothberg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vrothberg the problem with testing this is we would need to modify the host system that is running the test to make it work, which @edsantiago frowns upon. |
That's what I feared. Couldn't we run it in a container? |
Yes doing this in a privileged container might make sense. Do we have any examples of this though? |
I think we could reuse the podman images from Quay.io and mount a handcrafted /etc/sub{g,u}id? Then we'd need an image with more than one uids/gids. |
/lgtm |
Let's keep this as just a vendor update. If we want to add tests, we should do it against master first. |
This will allow the passing down of the ignore_chown_errors flag from
/etc/containers/storage.conf for rootless containers.
Signed-off-by: Daniel J Walsh [email protected]