-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/03/14 02:17 PM, Samuli Suominen wrote:
> - sys-fs/udev leaves it to root:root as:
> 
> KERNEL=="rfkill", MODE="0664"
> 
> - third party packages like mate-bluetooth, gnome-bluetooth install
> both their own udev .rules to adjust /dev/rfkill to plugdev:
> 
> KERNEL=="rfkill", GROUP="plugdev",    MODE="0664"
> 
> So I'd like to propose some unification:
> 
> I don't have a system with /dev/rfkill unfortunately to test this,
> but I believe we should add this to 40-gentoo.rules and create
> group 'rfkill':
> 
> SUBSYSTEM=="rfkill", GROUP="rfkill", MODE="0664"
> 
> And this line would go as /lib/udev/rules.d/70-gentoo-acl.rules (as
> the original filename in upstream ConsoleKit is
> 70-udev-acl.rules):
> 
> SUBSYSTEM=="rfkill", TAG+="udev-acl"
> 



As the other per-package rules already setting GROUP=  are providing
an understandable legacy behaviour (iirc membership in plugdev is
still the de-facto way to provide access rights when no consolekit or
similar control method is installed), I wonder if we can skip the
group assignment.

- From what I know about ACL's, the 70-gentoo-acl.rules would still work
fine even if the group remains ":root".

Thoughts?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAlMaIIYACgkQ2ugaI38ACPBrRwEAgRRt12g3BQcVqfSYg1IavgQA
lNdW7iPqpnq84+rH4tsBAK3JAlgARTngWgDD95zXFdCMmHcLuksfwcMyNduRsY6w
=tMVr
-----END PGP SIGNATURE-----

Reply via email to