Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25024 - [cdemu-daemon] 60-vhba.rules causes udev warning

Attached to Project: Community Packages
Opened by Jan Alexander Steffens (heftig) - Tuesday, 05 July 2011, 09:57 GMT
Last edited by Ray Rashif (schivmeister) - Wednesday, 21 March 2012, 15:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

The rules file contains NAME="%k", which is ignored by udev and causes a warning.

Suggestion: Remove the pair. Doesn't seem to impact functionality.
This task depends upon

Closed by  Ray Rashif (schivmeister)
Wednesday, 21 March 2012, 15:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  Update rolled in testing.
Comment by Philipp (hollunder) - Wednesday, 07 December 2011, 08:47 GMT
The strange things about this are:
1) The warning doesn't show up in dmesg or everything.log and I couldn't find a udev specific log
2) I can't find the rule file for the vhba module, it's definitely not in /etc/udev/rules.d/
Comment by Philipp (hollunder) - Wednesday, 07 December 2011, 08:53 GMT
Well, I managed to answer 2) myself now, but it's still curious.
There's not only /etc/udev/rules.d but also /lib/udev/rules.d where the vhba file resides.
It has the strange permissions of:
-rwxr-xr-x 1 root root 72 Oct 18 20:11 60-vhba.rules
while all other files there have:
-rw-r--r-- 1 root root 46 Nov 5 00:30 60-rfkill.rules

maybe this could be fixed in one swoop.
I don't understand why we need two udev rule directories.
Comment by Swift Geek (swiftgeek) - Sunday, 08 January 2012, 16:31 GMT
KERNEL=="vhba_ctl", NAME="%k", MODE="0660", OWNER="root", GROUP="cdemu"
has to be changed to
KERNEL=="vhba_ctl", NAME="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu"
otherwise cdemud@session-bus wont work ;)
Comment by Ray Rashif (schivmeister) - Tuesday, 20 March 2012, 16:58 GMT
This has been annoying me for some time now (especially because I've had to power off my machine a few times for a couple months). Thanks for the quick fix, will apply it asap.

Anyway custom rules go to /etc, system ones (provided by packages) go to /lib. That's all really. The permission is probably a leftover from upstream, no big deal (doesn't make a difference here if it's executable or not).

Loading...