rootless: "podman run" gives an imperfect error message if subgid not configured correctly #2584
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Scenario - /etc/subuid configured properly, but /etc/subgid not configured at all
User runs
podman run hello-world
and getsThis is rather confusing and does not help the user debug what actually went wrong.
If the user does something different like
podman image ls
they get a more helpful error messageI would expect
podman run
to give the same error message given the misconfiguration is the same forpodman run
as it is forpodman image
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: