-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Non-root podman hangs on Ubuntu 20.04 without uidmap package #7890
Comments
@positron96: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for opening the issue, @positron96! I believe @giuseppe fixed that already in our main branch but I am not sure if we backported it to v2.1. @giuseppe can you have a look? |
backport here: #7892 |
Amazing! Thank you guys, looking forward to using podman extensively. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug AND feature
Description
I've installed podman into a fresh Ubuntu 20.04 Minimal on Oracle Cloud, using instrctions from https://podman.io/getting-started/installation. Now if I run podman with sudo, everything works. If I run non-root, most podman commands hang without any output.
strace shows that podman is looping in some futex.
After checking Podman Troubleshooting Guide, I noticed that my system is missing
newuidmap
andnewgidmap
programs from uidmap package. After installing the package, all went well. However, this was very difficult to diagnose, because the guide says that in the case of missing programs, podman should complain about it. In my case, it just hanged.So, my problem is fixed after a lot of googling and trying.
So, can the guide be updated to include information for ubuntu? Or can podman on ubuntu be made to behave same as on RHEL (complain about files missing)?
Steps to reproduce the issue:
sudo podman ps
(works fine)podman ps
(hangs)Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Oracle Cloud, Ubuntu 20.04 Minimal
The text was updated successfully, but these errors were encountered: