[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the policy on audio group? and, proposal of a new group for the jack audio server

On Tue, 11 Nov 2014 14:41:01 +0000, Simon McVittie wrote:

> On 11/11/14 13:04, Felipe Sateler wrote:
>> I'm not sure if it is PolicyKit or a related service (old documentation
>> suggests it was ConsoleKit, nowadays it should be logind?), but
>> /dev/snd/
>> * get ACLs added for the currently logged in users
> Yes, that's exactly what I said a couple of mails ago :-)

Oops :)

> It is indeed systemd-logind that does this now. It's a 2-stage process:
> udev rules like /lib/udev/rules.d/50-udev-default.rules mark devices
> that should be user-accessible with the "uaccess" tag during device
> discovery (and sysadmin-written rules can presumably override the
> defaults to remove that tag if necessary). Later, systemd-logind looks
> for any devices with that tag and puts appropriate ACLs on them.
> Older versions of udev and ConsoleKit cooperated to do something similar
> with a "udev-acl" tag.
> PolicyKit is not involved here.

Thanks for the clarification.

I'll just  that the relevant file is /lib/udev/rules.d/70-uaccess.rules 
for systemd systems, and /l/u/r/70-udev-acl.rules for consolekit systems.

Felipe Sateler

Reply to: