-
Notifications
You must be signed in to change notification settings - Fork 262
scope contiguity checks for idmap to mountProgram presence #2346
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
scope contiguity checks for idmap to mountProgram presence #2346
Conversation
70684ab
to
e051598
Compare
e051598
to
59a14f8
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, Luap99 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 |
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.
I 100% don’t understand the logic, but I also 100% support making the logic consistent in both locations.
So… ACK?
59a14f8
to
c41981d
Compare
The `SupportsShifting` method signature has been updated to include `uidmap` and `gidmap` parameters. Previously, a driver could only declare general support for shifting. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
this check was initially added for fuse-overlayfs, but it should be overlay decision not centralized in store.go. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
The contiguity of ID mappings is a requirement for fuse-overlayfs, do not impose it for the native kernel driver. Closes: containers#2345 Closes: https://issues.redhat.com/browse/RHEL-94967 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
c41981d
to
ffb4f15
Compare
thanks, addressed the comments and pushed a new version |
/lgtm Thanks! |
/lgtm |
move the check for a contiguous mapping to overlay when a mount program is specified, since this is required only for fuse-overlayfs, not native idmapped mounts.
Closes: https://issues.redhat.com/browse/RHEL-94967
Closes: #2345