linux-system-roles / podman

Management of podman, including systemd services that use podman
https://linux-system-roles.github.io/podman/
MIT License
54 stars 19 forks source link

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

Closed richm closed 2 months ago

richm commented 2 months ago

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 rmeggins@redhat.com

richm commented 2 months ago

[citest]