Skip to content
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

idtools: add lookup by UID with libsubid #1265

Merged
merged 1 commit into from Jun 16, 2022

Conversation

giuseppe
Copy link
Member

We lost this feature when we moved to using libsubid for looking up
user additional ranges.

If the lookup using the username fails then attempt again using the
UID, since /etc/subuid and /etc/subgid allow that.

Closes: #1264

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

We lost this feature when we moved to using libsubid for looking up
user additional ranges.

If the lookup using the username fails then attempt again using the
UID, since /etc/subuid and /etc/subgid allow that.

Closes: containers#1264

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

Any chance we can add a regression test?

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

LGTM

@giuseppe
Copy link
Member Author

LGTM

Any chance we can add a regression test?

that would require a system configuration change since we are going through libsubid

@vrothberg vrothberg merged commit 7df6428 into containers:main Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

username instead of just uid in subuid now required for rootless podman
3 participants