udev(7) claims $attr{} searches parents, when it doesn't
Bug #348513 reported by
Scott James Remnant (Canonical)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: udev
The udev(7) manpage claims that the $attr{} expansion searches all parents:
If the matching device does not have such
an attribute, all devices along the chain of parents are searched
for a matching attribute.
This is not correct. Instead $attr{} only looks at the current device; or if KERNELS, SUBSYSTEMS, DRIVERS, ATTRS, etc. are used, the device matched by those.
If this is the intended behaviour, the documentation should be changed to match.
While we're at it, the manpage doesn't really make it clear that the KERNELS, SUBSYSTEMS, DRIVERS and ATTRS rules must all match the same device.
Changed in udev (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in udev (Ubuntu): | |
status: | Confirmed → Triaged |
To post a comment you must log in.
kay | the man page describes the old behavior, it should describe what it is doing today