Description of problem: openOCD uses the obsolete group mechanism in udev rules: assigns device files to be R/W by group plugdev, which does not exist on Fedora. The correct action is to use systemd session mechanism that tags the devices as 'uaccess', which then creates ACLs enabling R/W for the current logged-in console user. The udev rules file needs to be renamed---it has to be ordered before 70-uaccess.rules Version-Release number of selected component (if applicable): openocd-0.8.0-6.fc22.x86_64 How reproducible: very Steps to Reproduce: 1.grep plugdev /usr/lib/udev/rules.d/99-openocd.rules Actual results: see many rules using plugdev Expected results: no plugdev use
The fix is simple: replacing the old GROUP/MODE settings with TAG+="uaccess" The /usr/lib/udev/rules.d/99-openocd.rules file must be ordered before 70-uaccess.rules, so I propose renaming it to 60-openocd.rules . I enclose the new file, which should be sent upstream.
Created attachment 1081152 [details] 60-openocd.rules file using uaccess tag
Of course /usr/lib/udev/rules.d/99-openocd.rules needs to be deleted, too.
BTW, I filed a related bug for libsigrok https://bugzilla.redhat.com/show_bug.cgi?id=1270102
*** This bug has been marked as a duplicate of bug 1177996 ***