Re: [systemd-devel] How to grant systemd-nspawn access to USB device?

2022-03-11 Thread Kevin P
Indeed, this was not a problem with systemd, I just did not check the device permission. Chmod fixes it for the current boot, and a new udev rule fixes the issue permanently. Kevin P. Il giorno ven 11 mar 2022 alle ore 04:09 Cristian Rodríguez < crrodrig...@opensuse.org> ha scritto: > On Wed, Ma

Re: [systemd-devel] How to grant systemd-nspawn access to USB device?

2022-03-10 Thread Cristian Rodríguez
On Wed, Mar 9, 2022 at 12:09 PM Kevin P wrote: > > Hello Greg and thanks for answering :) > I never used strace, so I couldn't figure from the output, but further > research led me to this post: > http://www.pclinuxos.com/forum/index.php?topic=135714.0 > So I just tried (on the host): > chmod o+

Re: [systemd-devel] How to grant systemd-nspawn access to USB device?

2022-03-09 Thread Kevin P
Hello Greg and thanks for answering :) I never used strace, so I couldn't figure from the output, but further research led me to this post: http://www.pclinuxos.com/forum/index.php?topic=135714.0 So I just tried (on the host): chmod o+rw /dev/bus/usb/001/005 And it is now working. I was not expecti

Re: [systemd-devel] How to grant systemd-nspawn access to USB device?

2022-03-09 Thread Greg KH
On Wed, Mar 09, 2022 at 03:04:00PM +0100, Kevin P wrote: > Good evening everyone. > I would like a nspawn container on my Raspberry Pi (Raspbian, systemd 247) > to access a RTL2838 DVB-T USB stick. > Inside the container, dump1090 will run and feed aircraft data (piaware and > adsbexchange projects

[systemd-devel] How to grant systemd-nspawn access to USB device?

2022-03-09 Thread Kevin P
Good evening everyone. I would like a nspawn container on my Raspberry Pi (Raspbian, systemd 247) to access a RTL2838 DVB-T USB stick. Inside the container, dump1090 will run and feed aircraft data (piaware and adsbexchange projects). lsusb gives: Bus 001 Device 005: ID 0bda:2838 Realtek Semicondu