Linux podman info - stat /bin/fuse-overlayfs: no such file or directory #12888
Replies: 15 comments 2 replies
-
does the user have a custom configuration file under |
Beta Was this translation helpful? Give feedback.
-
You are right, @giuseppe I did found in The above file indeed had $ podman info
Error: error acquiring runtime init lock: error opening "/run/libpod/alive.lck": permission denied Wasn't supposed podman to look into |
Beta Was this translation helpful? Give feedback.
-
Looks like XDG_RUNTIME_DIR is set incorrectly. |
Beta Was this translation helpful? Give feedback.
-
if you don't override the configuration in Older versions of Podman were always creating files under |
Beta Was this translation helpful? Give feedback.
-
@rhatdan looks like that's the case. As # echo $XDG_RUNTIME_DIR
/run/user/0 Now, when I do $ echo $XDG_RUNTIME_DIR
but I do get |
Beta Was this translation helpful? Give feedback.
-
@giuseppe I did remove entirely the $ podman info
Error: error acquiring runtime init lock: error opening "/run/libpod/alive.lck": permission denied Here is my global config: # ls -la /etc/containers
-rw-r--r-- 1 root root 74 Dec 9 20:24 policy.json
-rw-r--r-- 1 root root 132 Dec 16 13:08 registries.conf
-rw-r--r-- 1 root root 308 Dec 15 00:32 storage.conf
# cat policy.json
{
"default": [
{
"type": "insecureAcceptAnything"
}
]
}
# cat storage.conf
[storage]
driver = "overlay"
runroot = "/run/containers/storage"
graphroot = "/var/lib/containers/storage"
rootless_storage_path = "/var/lib/containers/storage"
[storage.options]
mount_program = "/usr/local/bin/fuse-overlayfs"
[storage.options.overlay]
ignore_chown_errors = "false"
mountopt = "nodev"
# cat registries.conf
unqualified-search-registries = ['docker.io'] |
Beta Was this translation helpful? Give feedback.
-
defining XDG_RUNTIME_DIR env. var. doesn't help: $ export XDG_RUNTIME_DIR=/run/user/$UID
$ echo $XDG_RUNTIME_DIR
/run/user/995
$ podman -v
podman version 4.0.0-dev
$ podman info
Error: error acquiring runtime init lock: error opening "/run/libpod/alive.lck": permission denied |
Beta Was this translation helpful? Give feedback.
-
@mheon WDYT? |
Beta Was this translation helpful? Give feedback.
-
Please remove |
Beta Was this translation helpful? Give feedback.
-
@mheon I did remove it. But I have the same result. Please note that I'm using The below error message is misleading: the file
|
Beta Was this translation helpful? Give feedback.
-
That directory should not be in use by rootless Podman. We should be using a directory in |
Beta Was this translation helpful? Give feedback.
-
Thanks @mheon for explaining, I'm wondering what other thing could make |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder that this issue had no activity for 30 days. |
Beta Was this translation helpful? Give feedback.
-
Since this is a setup issue on a non supported platform, moving this to discussion. |
Beta Was this translation helpful? Give feedback.
-
@Constantin07 have you find the reason for that behavior? @mheon What will be the best way to debug, why rootless podman "ignores" XDG_RUNTIME_DIR ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
/kind bug
Description
On CentOS7.9 with
podman
build from sources it fails to findfuse-overlayfs
under/usr/local/bin
. This happens when invoked as non-privileged user.As
root
user it works just fine if I specify this config settings but for some reason this config is not being picked up when run by non-privileged user.Note: The
fuse-overlayfs
v1.7.1 has been compiled from sources and installed in/usr/local/bin
.The
PATH
variable includes/usr/local/bin
for bothroot
and non-privileged user.Steps to reproduce the issue:
Update
$PATH
to include/usr/local/bin
Make sure to have the
fuse-overlayfs
installed under/usr/local/bin
:# /usr/local/bin/fuse-overlayfs -V fuse-overlayfs: version 1.7.1 FUSE library version 3.6.1 using FUSE kernel interface version 7.29 fusermount3 version: 3.6.1
Make sure to install
podman
v.3.4.4
under/usr/local/bin
:Run
podman info
:Describe the results you received:
Describe the results you expected:
podman
to work just fine and find the path tofuse-overlayfs
either via$PATH
env var. or themount_program
config in the/etc/containers/storage.conf
file.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:As non-privileged user:
If I run as
root
: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/master/troubleshooting.md)
Yes. 4.0.0-dev
Additional environment details (AWS, VirtualBox, physical, etc.):
CentOS Linux release 7.9.2009 (Core)
Beta Was this translation helpful? Give feedback.
All reactions