-
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
error running newuidmap: "invalid internal status" #13751
Comments
could you try running manually these commands?
Does the newuidmap call succeed? |
It failed. So I'm guessing this is not a podman problem? If not, it would be helpful if podman's diagnostic message could provide a little more direction on how to possibly resolve the issue. I'd really love to use rootless containers with Podman on Arch Linux.
After I run
|
I would figure either newuidmap is not setuid or does not have the filecap setuid applied to it. |
@rhatdan You were right that Arch Linux didn't have the setuid bit set on It would be helpful if Podman could check for the But setting the setuid bit still didn't didn't fix it. As seen below, it looks like the
(The "group" of |
@rhatdan I presume you closed this because the permissions of Consider this a "feature request" for Podman to detect this case and exit gracefully with an error message that I've tried unsuccessfully to get going with Podman multiple times due to rough edges that I'm sure are due in part to running it outside of Fedora. Smoothing out these rough edges with better diagnostics can help grow the user base and in turn the pool of contributors. |
Opened a PR containers/storage#1188 to check on failure of newuidmap and newgidmap. |
Thank you @rhatdan ! |
A friendly reminder that this issue had no activity for 30 days. |
Since this is in podman 4.1, closing. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Unable to run a container with podman 4.0.1 on Arch Linux
Steps to reproduce the issue:
podman run -ti --rm --network=host docker.io/mongo:4.4 mongo
Describe the results you received:
Running
podman system migrate
does not fix it. I got a different error before I ranpodman system migrate
, now lost.Describe the results you expected:
Expected it to work.
Additional information you deem important (e.g. issue happens only occasionally):
Both
/etc/subuid
and/etc/subgid
containmark:10000:65536
and are symlinked to a file in my home directory.Here's what happens if I try to run the
newuid
command directly:Output of
podman version
:podman --version
reports 4.0.1, butpodman version
fails with the same "invalid internal status" error as above.Output of
podman info --debug
:The command can't run. It fails the same as above.
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? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: