-
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 info
fails without sudo
#3207
Comments
Hi @adel-mamin, thanks a lot for opening the issue. Which kind of filesystem is your home directory on? |
I believe it is |
@adel-mamin, is it on NFS? I suspect it's on NFS since the filelocks are not working there, which is inherently important for the storage. If that's the case, we can edit |
It is not on NFS. It is on my local disk:
|
Thanks for clarifying. I checked the code and believe there's a bug. |
@adel-mamin, if possible, could you compile #3208 and test if that fixes your issue? |
@vrothberg I can try, if you point me to the build instructions. |
@adel-mamin, you can checkout the pull request in your local git-tree via: git fetch -f -u $remote pull/3208/head:pull-request-3208 Note that $remote is the git-remote pointing to |
Unlock the alive lock only once in the deferred func call. Fixes: containers#3207 Signed-off-by: Valentin Rothberg <[email protected]>
FWIW, I have tried building and installing podman from master SHA1
Here is the build log:
|
Thanks a ton for checking. I'll reopen. Note that I can't reproduce this at all.
@giuseppe, do you have a suspicion what could have gone south? |
I fear there is no support for user namespaces in the kernel. What do you see with |
|
@giuseppe's suspicion is correct, the system does not have user namespace support. I guess that every distro configures that a bit different, but here's a link how to enable it in Manjaro: https://forum.manjaro.org/t/how-to-permanently-enable-user-namespaces-in-manjaro-linux/71614/2 |
I updated the Linux kernel to |
Awesome, thanks a lot! |
@adel-mamin Would you mind opening a PR for adding information on MANJARO on install.md. So future users would not hit the issues you have had. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
With
sudo
the commandsudo podman info --debug
works and outputs:The text was updated successfully, but these errors were encountered: