Arch Linux

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#3974 - udev.rules sets wrong group for IDE CDROMs

Attached to Project: Arch Linux
Opened by Glyn Adgie (glyn) - Tuesday, 14 February 2006, 15:59 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/etc/udev/rules.d/udev.rules from udev-084-4 sets the wrong group for ide CDROM/DVD devices. It appears that the following rule is not being matched:

# permissions for IDE CD devices
BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", SYSFS{media}="cdrom*", NAME="%k", GROUP="optical"

This rule would appear to be applied:

# permissions for ide storage like pcmcia card readers
BUS=="ide", KERNEL=="hd*", SYSFS{removable}=="1", NAME="%k", GROUP="storage"

This means that /dev/hdd (or whatever the cd device is) is owned by root.storage, and not root.optical, which breaks applications like K3b.

Reverting to the rule from an earlier udev.rules fixes the problem:

# permissions for IDE CD devices
BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom*", NAME="%k", GROUP="optical"

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 16 February 2006, 11:35 GMT
Reason for closing:  Not a bug
Comment by Tobias Powalowski (tpowa) - Tuesday, 14 February 2006, 21:08 GMT
to me this osunds you run a custom kernel without the uevent patch applied
Comment by Yi Qiang (yi) - Wednesday, 15 February 2006, 05:08 GMT
I also ran into this problem. What uevent patch? Why would udev break with a vanilla kernel from kernel.org? I would _not_ force your users to use archlinux's kernel.
Comment by Tobias Powalowski (tpowa) - Wednesday, 15 February 2006, 07:48 GMT
the uevent patch from abs in kernel26 dir apply this and all is fine, it's the backport from 2.6.16

Loading...