You are not logged in.

#1 2022-03-08 08:03:42

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Podman --device "operation not permitted"

Hi there,

I'm running __ROOTFUL__ podman containers and passing a ttyACM0 to a container. Since the upgrade to podman 4.0.1-1 this does no longer work. I always get an "operation not permitted" error when trying to read or write to the tty. (Fun fact chmod 666 on device works from within container)

Downgrade to 3.4.4-1 worked as workaround.
Switching to the current docker release also helped.

I've tried to find something upstream, but neither I've found usable hints in the issues nor in the changelogs.

Is someone of you experiencing the same issues?

Kind Regards,
Robert

EDIT:

Steps to reproduce. Connect something like an Arduino to an USB-Port. Then Start a arch container with --device /dev/ttyACM0 and /bin/bash as command.

Now try to access /dev/tty/ACM0 via terminal program or cat.

Expected: OK
Current: "operation not permitted"

Last edited by hifigraz (2022-03-08 08:10:09)

Offline

Board footer

Powered by FluxBB