-
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
rootless podman run --device /dev/fuse:/dev/fuse1 is broken. #3905
Comments
Did a quick scan of the code to find out how this works in rootless mode, and so far have not found it. |
in the OCI config file it is converted to:
the OCI runtime should try to list all the devices to find the correct bind mount. I think it is safer to fix it in Podman, and when running in rootless mode automatically create the bind mount instead of the device. |
Yes, we have a similar issue with BUILDAH_ISOLATION=chroot. |
opened a PR: #3909 |
when running in rootless mode, --device creates a bind mount from the host instead of specifying the device in the OCI configuration. This is required as an unprivileged user cannot use mknod, even when root in a user namespace. Closes: containers#3905 Signed-off-by: Giuseppe Scrivano <[email protected]>
Looks like when their is a rename operation code attempts to create a device node rather then just setting up a bind mount from the host.
The text was updated successfully, but these errors were encountered: