Summary: | media-libs/libnjb should install udev rules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francois Chenier <belgix_oz> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jeffrey.mitchell |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 126089 | ||
Attachments: | udev rules to avoid using gnomad as root |
Description
Francois Chenier
2006-06-23 06:43:55 UTC
Created attachment 89909 [details]
udev rules to avoid using gnomad as root
File to save in /etc/udev/rules.d directory ...
After a little brainstorming any package using libnjb may have this problem (neutrino, etc) Can you include the fix to this library instead ? First: change SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libnjb_rules_end" to SUBSYSTEM!="usb_device", GOTO="libnjb_rules_end" ACTION!="add", GOTO="libnjb_rules_end" Second: change SYSFS to ATTRS. Actually, libnjb includes udev rules in their 2.2.5 release. For whatever reason, the ebuild isn't installing them, instead installing the hotplug files. Fixing the ebuild to install the libnjb-provided udev rules shouldn't be too difficult and should fix this problem. Added udev rules to 2.2.5-r1, modified like Comment #3 suggested. I don't have hardware to test, so report back if it fails.. This should probably use the nomad.rules file from the libnjb source distribution, and not the rules file in the attachment. They are somewhat different. (In reply to comment #6) > This should probably use the nomad.rules file from the libnjb source > distribution, and not the rules file in the attachment. They are somewhat > different. > Different in sense that ones in sources are invalid for our udev version.. |