Closed ocafebabe closed 3 years ago
It seems to be a permission issue because: sudo podman info
works as expected...
I ran into a similar issues yesterday on Amazon Linux 2. Can you run which newuidmap
and see if that's installed?
It's part of the shadowutils
package. @lsm5 PTAL
@giuseppe @mheon @rhatdan ... it seems that rootless podman can hang when new{u,g}idmap
is absent. I ran into the same symptom yesterday preparing the HPC workshop. It didn't occur on all systems (even without the binaries) so I am under the impression there's a race condition.
@ocafebabe Can you confirm that newuidmap was missing from your machine?
@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 cmd.Exec("newuidmap", ....)
which should fail during path look up.
I've opened a PR: https://github.com/containers/podman/pull/7784
Awesome. thanks @giuseppe!
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