[systemd-devel] How to unset "uaccess" tag in udev rule?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Mar 14 21:44:12 UTC 2017


On Sun, Mar 12, 2017 at 07:38:13PM +0100, Manuel Reimer wrote:
> Hello,
> 
> my distributor sets the following rule in /usr/lib/udev/rules.d:
> 
> KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput",
> TAG+="uaccess"
> 
> I think this is not a good idea and that there is a good reason why
> users can't create uinput devices, so I want to get rid of that
> rule.
> 
> So far I did this by creating an empty file with the same name in
> /etc/udev/rules.d which works well, but for no reason the name was
> changed some time ago which overrides my empty file and reactivates
> the problematic rule.
That's the only way. Tags cannot be unset.

Zbyszek


More information about the systemd-devel mailing list