@zhenech check the group. serial devices are often in an extra group not given to all users by default
@zhenech
AppArmor, SELinux, group not imported into container
@towo no, no, no.
podman with --group-add keep-groups
if I exec into the container, I can read and write to the device
@zhenech
Seccomp?
@zhenech
setenforce 0
chmod 777 /dev/*
touch /etc/y_u_mad
- replies
- 0
- announces
- 0
- likes
- 0
@towo @jmtd and the winner is: fucking inheritance.
The containers are started by systemd.
The user got the dialout group only recently.
The systemd process didn't have that group yet, so the container launched by it did neither.
My "podman exec" was launched by my shell, which DID have the new group.
tableflip.gif