Bug 748205 - drm: please move udev rules to /lib/udev/rules.d
Summary: drm: please move udev rules to /lib/udev/rules.d
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libdrm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-23 00:33 UTC by Kay Sievers
Modified: 2011-10-25 17:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 17:46:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kay Sievers 2011-10-23 00:33:37 UTC
RPMs should place udev rules in /lib/udev/rules.d/, not in /etc.
/etc is reserved for admins to overwrite udev config shipped by
packages. It should not be used by packages directly.

Also please always match on the subsystem. Matching on device names only
is not necessarily safe. This name is already very close to the names used
for the subsystem "sound", so "drm" should be added.

Udev rules should not overwrite NAME=, the device node is created by the
kernel anyway. Udev does not support renaming kernel devices, it just
suppresses the error when the name is the same as the kernel name.

Something like that should be fine:
  KERNEL=="controlD[0-9]*", SUBSYSTEM=="drm", MODE="0666"

Thanks!

Comment 1 Adam Jackson 2011-10-25 17:46:13 UTC
Fixed in libdrm-2.4.26-3.fc17


Note You need to log in before you can comment on or make changes to this bug.