-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Many podman commands simply print "cannot set user namespace" #10135
Comments
That error string does not occur in the code anywhere I can find. The WSL bit does make me suspicious, given that creating a new user namespace is a kernel operation. |
newuidman? |
I can not find that string in shadow-utils, crun, runc, podman conmon. @giuseppe Ideas? |
the error is coming from the Is there any file left in |
I restarted the WSL2 instance by shutting down the WSL core. That did not help. I don't have an environment variable set called |
I am not familiar with WSL2. Is there a |
No, it does not seem that way
|
can you find out where podman stores its rundir? Is it under |
Seems like that is correct
|
At last! I have Googled this so many times now trying to find the cause for this issue. I also managed to fill my WSL2 and ran a podman prune to recover disk space. Now more or less all podman commands give me "cannot set user namespace". Just updated to podman 3.1.2. |
Since this seems to be the same issue I am offering up my info as well: sudo podman version sudo podman info --debug
|
thanks! Could you remove these directories and try again? |
That solved it for me! |
Ok then I will close, reopen if you think the upstream needs more progress. |
Thanks @giuseppe! That was it! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Earlier today I tried to build an existing Dockerfile but upgrading it to use Ubuntu 21.04 instead of 20.10. This failed rather quickly because of the glibc issue. Therefore I tried to upgrade podman from 2.2.1 to the 3.1.x version available through the Kubic project (I am on Centos8). This sadly did not fix the issue.
Since I wasn't able to build 21.04 I reverted back to 20.10 and rebuilt the image. While doing that the WSL2 instance this is all running in filled up all available hard disk space, which actually crashed the instance. To fix this I cleared out all images build with podman and buildah to recover ~30 GBs of disk space. Afterward I shrunk the image with a guide.
I used the following commands to clear all images:
Now after clearing out all images and resizing the disk I am no longer able to use podman as most commands simply print:
I searched the internet for this string and I cannot find anything. Do you have any clue how to fix this? I already tried reinstalling the old version of podman but I cannot use it productively anymore.
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.):
The text was updated successfully, but these errors were encountered: