-
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
podman is unresponsive #7776
Comments
It seems to be a permission issue because: |
I ran into a similar issues yesterday on Amazon Linux 2. Can you run It's part of the |
@ocafebabe Can you confirm that newuidmap was missing from your machine? |
@rhatdan yes it was, I had to install this package: uidmap This problem seems to be a regression: 2211 IMHO this package should be added as a mandatory dependency... Thanks |
reopened the issue. We should not hang also when newuidmap/newgidmap is not installed |
I had a look at the code but couldn't spot a race: afaics, we're doing a |
I've opened a PR: #7784 |
Awesome. thanks @giuseppe! |
when newidmap is not installed the code would hit the reexec_in_user_namespace_wait code and wait for the child process to be terminated. The child process is blocked waiting on the w pipe. So make sure to unblock the child process first and then clean it up. Closes: containers#7776 Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
when newidmap is not installed the code would hit the reexec_in_user_namespace_wait code and wait for the child process to be terminated. The child process is blocked waiting on the w pipe. So make sure to unblock the child process first and then clean it up. Closes: containers#7776 Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org> (cherry picked from commit 7147c93)
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman isn't working as expected after installing it on a system with a previous docker installation
Steps to reproduce the issue:
Install docker.io
Uninstall docker.io
Install podman using Ubuntu 20.04 Kubic repository
Describe the results you received: freeze
Describe the results you expected: working condition
Additional information you deem important (e.g. issue happens only occasionally):
Linux Mint 20 (Ubuntu 20.04)
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.):
physical
The text was updated successfully, but these errors were encountered: