Web lists-archives.com

Re: lircd daemon as regular user => device access problems






On 12/02/17 13:47, Simon McVittie wrote:

Hi, thanks for thoughts!


/lib/udev/??-mm-*.rules are probably of interest. ModemManager
implements a whitelist (devices that are definitely modems), a blacklist
(devices that are definitely not modems), and a greylist (devices that
might be modems, but will only be probed by ModemManager if the userBastien
explicitly requests it via some GUI or CLI frontend).

Following the same logic I think lircd should just implement a blacklist. This is because lircd always works according to the greylist option - it does not access any device unless it's selected by user on CLI or in GUI.

/lib/udev/rules.d/77-mm-usb-device-blacklist.rules looks interesting, might be a starting point for a blacklist.

@Bastien: is there anything you would like to add to this list?


Cheers!

--alec