You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that is the suggested way to deal with disappearing devices with rootless containers. Without root privileges, we can only bind mount devices inside the container, it is not possible to create device files
Ok, if this is the intended behavior, is there somewhere it shouldbe documented? I would have expected --privileged would behave similar to bind mounting iwth rshared
Issue Description
I run rootless podman as a user with the 'dialout' group using a privileged container, I lose access to a serial device if it is unplugged/replugged
Steps to reproduce the issue
podman run --privileged --group-add keep-groups alpine
Then:
(despite the nobody/nobody) I can indeed access the tty):
Now I uplug and replug the serial device, and see:
and indeed I cannot access the device:
but on the host, the device has the expected groups:
and if I exit/restart podman, the device is visible again
Describe the results you received
Permission denied
Describe the results you expected
access to the serial device after replug
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Runing on alpine linux 3.21.0 on aarch64
Additional information
No response
The text was updated successfully, but these errors were encountered: