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

fix: subgid maps user to gids, not group to gids #178

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Aug 29, 2024

Cause: The podman role was looking up groups in the subgid values, not
users.

Consequence: If the user name was different from the group name, the role
would fail to lookup the subgid values.

Fix: Ensure that the user is used to lookup the subgid values.

Result: The subgid values are looked up correctly.

Signed-off-by: Rich Megginson [email protected]

Cause: The podman role was looking up groups in the subgid values, not
users.

Consequence: If the user name was different from the group name, the role
would fail to lookup the subgid values.

Fix: Ensure that the user is used to lookup the subgid values.

Result: The subgid values are looked up correctly.

Signed-off-by: Rich Megginson <[email protected]>
@richm richm force-pushed the fix-subgid-takes-user branch from e7d1364 to 77ba441 Compare August 29, 2024 18:22
@richm
Copy link
Contributor Author

richm commented Aug 29, 2024

[citest]

@richm richm merged commit ad01b00 into linux-system-roles:main Sep 4, 2024
14 of 15 checks passed
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.

1 participant