Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347728 - sys-apps/pcsc-lite-1.6.5 faulty udev rule
Summary: sys-apps/pcsc-lite-1.6.5 faulty udev rule
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
: 347740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-04 16:55 UTC by PhobosK
Modified: 2010-12-05 18:48 UTC (History)
7 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 PhobosK 2010-12-04 16:55:26 UTC
The new sys-apps/pcsc-lite-1.6.5 ebuild introduces a faulty udev rule for hotplugging.
This udev rule breaks the audio system's permissions (could do more things too, I have not tested it thoroughly), changing the group of all audio devices to pcscd group, thus making the sound system totally unusable for users outside the scope of root and pcscd group.

The faulty rule is:
ACTION=="add", GROUP=="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"

Here GROUP cannot be used as a matching rule and actually is used as a value assign rule.... See 'man 7 udev'
Please fix!

Reproducible: Always

Steps to Reproduce:
Comment 1 Rafał Mużyło 2010-12-04 19:17:07 UTC
*** Bug 347740 has been marked as a duplicate of this bug. ***
Comment 2 Graham Murray 2010-12-04 20:24:34 UTC
It also does the same thing to /dev/tty*
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-12-05 18:48:53 UTC
Fixed with 1.6.5-r1 version bump, sorry for the mess-up.

I'll see to get it improved in udev though, as doing a silent fallback from "compare" to "assign" is silly.