Bug 744637

Summary: please drop or fix broken udev rules
Product: [Fedora] Fedora Reporter: Kay Sievers <kay>
Component: libfprintAssignee: Bastien Nocera <bnocera>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bnocera, hobbes1069, mclasen, pingou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-19 03:28:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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