Skip to content

Conversation

@giuseppe
Copy link
Member

fix the detection for the maximum userns size from an image.

If the maximum ID used in an image is X, we need to use a user namespace with size X+1 to include UID=X.

Closes: #2104

@eriksjolund
Copy link
Contributor

@giuseppe giuseppe force-pushed the fix-off-by-one-max-size branch from 9164487 to 4d26d40 Compare September 23, 2024 09:45
fix the detection for the maximum userns size from an image.

If the maximum ID used in an image is X, we need to use a user
namespace with size X+1 to include UID=X.

Closes: containers#2104

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe force-pushed the fix-off-by-one-max-size branch from b70eb0c to 6ac9e93 Compare September 23, 2024 10:19
@giuseppe
Copy link
Member Author

@containers/podman-maintainers PTAL

@mheon
Copy link
Member

mheon commented Sep 23, 2024

LGTM

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 23, 2024

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

userns=auto doesnt map doesn't map GID 65533-65534

4 participants