| Summary: | udev update triggered problem with udev rules for nqc and/or nxt_python | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bruno Wolff III <bruno> | ||||||
| Component: | nxt_python | Assignee: | Martin Langhoff <martin> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | bruno, harald, jonathan, kay, martin, udev-maint | ||||||
| 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: | 2011-10-22 15:23:53 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Bruno Wolff III
2011-10-22 00:02:01 UTC
The rule in that package doesn't look right, nothing should ever try to replace a kernel-provided device name with a symlink, but it should not cause any damage. What does: udevadm test /sys/class/mem/random print? Created attachment 529581 [details]
This is with nqc and nxt_python uninstalled
I had removed nqc and nxt_python in order to get things to work on boot. I figured I'd capture the requested output before reinstalling them for comparison. I'll the result with them installed shortly.
Created attachment 529582 [details]
Output with nqc and nxt_python installed
That looks all fine:
creating device node '/dev/random', devnum=1:8, mode=0666, uid=0, gid=0
did not notice, that not only nqc but also nxt_python install udev rules.
The rules in nxt_python are broken. SYSFS= and BUS= are deprecated since
years. The rule probably assigns the group 'lego' to all files in /dev.
The rules file needs to move to /lib/udev/rules.d/ and be converted to:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", GROUP="lego", MODE="0660"
Since this bug causes serious issues for rawhide users that have it installed, I invoked provenpackager status to do a fix in rawhide. I'll let the maintainer decide if they want to apply the fix to older versions. There isn't a hurry to do anything with those as the depreciated parameters still work there. Thanks for the fix. I'll check if we should ignore such rule lines entirely, instead of having them match on too many things. This should make the broken rules less fatal to the rest of the system, they should just get ignored now. http://pkgs.fedoraproject.org/gitweb/?p=udev.git;a=commitdiff;h=4dfe0853b64444e1c5c8f0c7564909ce7b9ed81a http://koji.fedoraproject.org/koji/taskinfo?taskID=3452144 |