-
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
Running podman container with --privileged doesn't mount --device #12704
Comments
I don't see this when I test, and it would be very strange since in rootless mode. we are just bind mounting /dev:/dev
|
Do you have any recommendations for something I could do to root cause it? I don't have much experience with container internals so I don't know where to start.
|
@giuseppe Ideas? |
ls /dev |
on the host:
|
A friendly reminder that this issue had no activity for 30 days. |
can you show me the mount table on the host (
If you run just |
I could reproduce locally, I'll update shortly |
commit 350ede1 added the feature. Do not check whether the device is usable by the rootless user before adding to the container. Closes: containers#12704 [NO NEW TESTS NEEDED] it requires changes on the host to test it Signed-off-by: Giuseppe Scrivano <[email protected]>
opened a PR here: #13031 |
Thanks! I just tried the latest git (the fake 3.4.4.1 placeholder) and it works
|
commit 350ede1 added the feature. Do not check whether the device is usable by the rootless user before adding to the container. Closes: containers#12704 [NO NEW TESTS NEEDED] it requires changes on the host to test it Signed-off-by: Giuseppe Scrivano <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When running with the --privileged flag, I don't see the device inside the container. I don't see an error either.
Steps to reproduce the issue:
Describe the results you received:
/dev/kvm missing
Describe the results you expected:
/dev/kvm present or error message
Additional information you deem important (e.g. issue happens only occasionally):
happens every time.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):I build this myself for guix. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52174
Currently at PATCH v3.
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)
I looked but didn't see anything.
Additional environment details (AWS, VirtualBox, physical, etc.):
physical on GNU Guix distro.
The text was updated successfully, but these errors were encountered: