Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603120 - >=dev-embedded/openocd-0.8.0 installing udev rules which changing devices group to plugdev.
Summary: >=dev-embedded/openocd-0.8.0 installing udev rules which changing devices gro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 17:45 UTC by Oleh
Modified: 2017-01-24 16:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-12-19 17:45:45 UTC
with version starting with 0.8.0 (and newer), upstream udev rules installed for certain devices which then owned by plugdev group. For example, if no openocd installed certain usb devices such as UART are owned by uucp
crw-rw---- 1 root uucp    188, 2 dec 19 18:26 /dev/ttyUSB0

After installing openocd (and re-plugging) this now owned by plugdev group:

crw-rw-r-- 1 root plugdev 188, 0 dec 19 18:41 /dev/ttyUSB0

If user not in plugdev group, then this device is not accessible. Suggestion is:
ebuild should print message about users supposed to create and add themselves into plugdev group, somewhere in pkg_postinst.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2017-01-24 16:53:32 UTC
also of note, plugdev isn't a default group in gentoo.

fixed 0.8.0, 0.9.0, and 9999

added enewgroup and elog in pkg_postinst