On Fri, Mar 07, 2014 at 09:17:20PM +0200, Samuli Suominen wrote:
> - sys-apps/systemd has it's own service to handle /dev/rfkill from
> 99-systemd.rules we don't install with sys-fs/udev:
> 
> SUBSYSTEM=="rfkill", TAG+="systemd", IMPORT{builtin}="path_id",
> ENV{SYSTEMD_WANTS}+="systemd-rfkill@$name.service"
> 
> - so this is about sys-fs/udev (and perhaps, sys-auth/consolekit for ACLs)
> - since the udev .rules are not application specific, we should control
> it from sys-fs/udev's /lib/udev/rules.d/40-gentoo.rules
> - 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"

This doesn't make much sense: the group should be plugdev.

It's only understandable when we read your last mail, about a
not-yet-implemented split plugdev idea. In the interim, please
keep it to plugdev, as other packages and the admin expect.
 
> 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"
> 
> Any thoughts?

Seems KERNEL might be right.

-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)

Reply via email to