Dear PVE-friends,
since I upgraded to PVE 7 (LXC 4.0) I can not pass USB device to my priviledged LXC container.
Maybe someone has an idea what's wrong in the configuration from PVE 6:
On the host:
Extract from client configuration:
On the client:
since I upgraded to PVE 7 (LXC 4.0) I can not pass USB device to my priviledged LXC container.
Maybe someone has an idea what's wrong in the configuration from PVE 6:
On the host:
Code:
root@pve:/dev# ls -l /dev/ttyU*
crw-rw-rw- 1 root dialout 188, 0 Jul 8 11:46 /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 1 Jul 8 11:46 /dev/ttyUSB1
Extract from client configuration:
Code:
lxc.cgroup.devices.allow: c 188:* rwm
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
On the client:
Code:
srv:dev# ls -l ttyU*
crw-rw-rw- 1 root dialout 188, 0 Jul 8 11:46 ttyUSB0
crw-rw-rw- 1 root dialout 188, 1 Jul 8 11:46 ttyUSB1
srv:dev# cat ttyUSB1
cat: ttyUSB1: Operation not permitted
srv:dev#