[PATCH] Portable audio players, ACL and policy

David Zeuthen david at fubar.dk
Mon Mar 3 15:28:40 PST 2008


On Thu, 2008-01-17 at 12:29 +0100, Linus Walleij wrote:
> 2008/1/16, Danny Kukawka <danny.kukawka at web.de>:
> 
> > No, since nobody knows which mail you refer to. There is nothing on the ML
> > AFAIK.
> 
> OK that explains it, here is that patch again.
> 
> We have a few audio players accessing USB in raw mode
> using libusb. Fedora is starting to rely on ACLs for this,
> so HAL has to do the grunt work. (We used to use
> pam_console, no good.)
> 
> Will this patch do the trick?

Almost! Can't use underscores in .policy files, there's no such thing!
Yes, we're very strict! Anyway, I've committed this patch

http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=cebc92a9b2bc62442fbde76064540df5c03ff060

But had to add a kludge back to hal because the libmtp fdi file is using
a deprecated property that was removed. 

http://lists.freedesktop.org/archives/hal/2008-March/010972.html

So now it works fine.

Any chance you can update the libmtp fdi file generator to use
info.subsystem instead of info.bus? And if you see the libgphoto2 ask
them too please! Thanks!

     David




More information about the hal mailing list