Bug 744637 - please drop or fix broken udev rules
Summary: please drop or fix broken udev rules
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libfprint
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 650532 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-09 22:00 UTC by Kay Sievers
Modified: 2012-05-19 03:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-19 03:28:45 UTC
Type: ---


Attachments (Terms of Use)

Description Kay Sievers 2011-10-09 22:00:03 UTC
Error:
  [    3.373796] udevd[461]: error opening ATTR{/sys/devices/pci0000:00/
  0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/power/level} for writing: No
  such file or directory

There is no ATTR{power/level} for USB devices since quite some time.
It is called power/control. The currently installed udev rules file
does nothing but cause errors at boot time.

If the file should be kept it needs to be fixed:

ATTRS{dev}=="*" makes not much sense. ENV{DEVTYPE}=="usb_device" is
needed to not match on usb interfaces.

ATTRS{} is inefficient and should be replaced by ATTR{}.

ACTION=="add" must be added.

The entire file should be ignored for anything that does not match
the above keys, they should not be repeated in every line.

No RPM must install udev rules in /etc/udev/rules.d/. That directory
is reserved for the local administrator. All udev rules from RPMs belong
into /lib/udev/rules.d/.

Thanks!

Comment 1 Kay Sievers 2012-01-30 13:44:14 UTC
*** Bug 650532 has been marked as a duplicate of this bug. ***

Comment 2 Kay Sievers 2012-01-30 13:46:34 UTC
Ping!

Please drop the broken and needless rules file, it causes errors to be logged
at bootup.

Comment 3 Matthias Clasen 2012-05-19 03:28:45 UTC
dropped


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