Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-20 Thread Robert Milasan
On Thu, 20 Aug 2015 03:26:21 +0800 Tom Yan tom.t...@gmail.com wrote: Woo it's a win of almighty grawity again! \o/ My rules works perfectly fine with the 70- prefix just as the shipped 70-uaccess.rules. Should have thought about it. Any pointer for details about the consumed here btw?

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-20 Thread Mantas Mikulėnas
Well, as in the paste earlier, 73-seat-late.rules is the place where udev actually looks at the uaccess tag and applies initial ACLs on device connect. So all devices must be properly tagged before they reach that rule. (Logind /also/ looks at the uaccess tag and applies ACLs independently of

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-20 Thread Tom Yan
Ah that explains everything. I was just confused about RUN{builtin}+=uaccess but now I get it. Thanks a lot! On 20 August 2015 at 18:05, Mantas Mikulėnas graw...@gmail.com wrote: Well, as in the paste earlier, 73-seat-late.rules is the place where udev actually looks at the uaccess tag and

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-19 Thread Robert Milasan
On Wed, 19 Aug 2015 17:45:28 +0800 Tom Yan tom.t...@gmail.com wrote: Hi all! So I added the following rules: [tom@localhost ~]$ grep . /etc/udev/rules.d/* /etc/udev/rules.d/uas.rules:DRIVERS==uas, TAG+=uaccess /etc/udev/rules.d/usb-storage.rules:DRIVERS==usb-storage, TAG+=uaccess Can you

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-19 Thread Mantas Mikulėnas
On Wed, Aug 19, 2015 at 3:18 PM, Robert Milasan rmila...@suse.cz wrote: On Wed, 19 Aug 2015 17:45:28 +0800 Tom Yan tom.t...@gmail.com wrote: Hi all! So I added the following rules: [tom@localhost ~]$ grep . /etc/udev/rules.d/* /etc/udev/rules.d/uas.rules:DRIVERS==uas, TAG+=uaccess

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-19 Thread Robert Milasan
On Wed, 19 Aug 2015 17:45:28 +0800 Tom Yan tom.t...@gmail.com wrote: Hi all! So I added the following rules: [tom@localhost ~]$ grep . /etc/udev/rules.d/* /etc/udev/rules.d/uas.rules:DRIVERS==uas, TAG+=uaccess /etc/udev/rules.d/usb-storage.rules:DRIVERS==usb-storage, TAG+=uaccess I

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-19 Thread Tom Yan
Woo it's a win of almighty grawity again! \o/ My rules works perfectly fine with the 70- prefix just as the shipped 70-uaccess.rules. Should have thought about it. Any pointer for details about the consumed here btw? On 19 August 2015 at 20:43, Mantas Mikulėnas graw...@gmail.com wrote: On Wed,

[systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-19 Thread Tom Yan
Hi all! So I added the following rules: [tom@localhost ~]$ grep . /etc/udev/rules.d/* /etc/udev/rules.d/uas.rules:DRIVERS==uas, TAG+=uaccess /etc/udev/rules.d/usb-storage.rules:DRIVERS==usb-storage, TAG+=uaccess The rules basically works, but it doesn't support hotplug, that is, I have to