Skip to content

idtools: add lookup by UID with libsubid#1265

Merged
vrothberg merged 1 commit intocontainers:mainfrom
giuseppe:idtools-lookup-by-uid
Jun 16, 2022
Merged

idtools: add lookup by UID with libsubid#1265
vrothberg merged 1 commit intocontainers:mainfrom
giuseppe:idtools-lookup-by-uid

Conversation

@giuseppe
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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