Douglas E. Warner wrote: > Phil Dibowitz wrote: >> Doug, let me know how that goes. >> >>> I leave for LA for a week on >>> Wednesday (I'll be at SCALE, so anyone attending SCALE drop me a line and >>> we'll meet up). > > I had some packaging problems with my udev/policykit rules which I managed to > fix up, but I still have to run things w/ sudo. > > Next I'll probably try to test w/ the script you created to see if anything > has changed w/ the udev or policykit rules. > > Does anyone have this working currently (ie, can run concordance as a regular > user w/o sudo)?
So, I used scripts I wrote (which uses your udev logic) and it didn't work. Turns out it was the GOTO/LABEL logic. If I nuke that, it works fine. So I did some reading and changed the line from: SUBSYSTEM=="usb", GOTO="harmony_usb_rules" to SUBSYSTEM=="usb_device", GOTO="harmony_usb_rules" and that worked. It looks like a lot of folks do *both*, so I'm guessing this changed at some point. So I've changed the logic to look like this: SUBSYSTEM=="usb_device", GOTO="harmony_usb_rules" SUBSYSTEM=="usb", GOTO="harmony_usb_rules" BUS!="usb", GOTO="harmony_rules_end" LABEL="harmony_usb_rules" ... Which seems to be the big-hammer approach and works great. I've changed my script accordingly and also changed the output file names to be 99_libconcord.rules, libconcord.policy and 99-libconcord.perms. http://www.phildev.net/concordance/gen_udev_support -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel