Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97793 - udev-059 ide-devfs cdsymlinks conflict?
Summary: udev-059 ide-devfs cdsymlinks conflict?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-03 01:06 UTC by Jordan
Modified: 2005-07-06 15:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan 2005-07-03 01:06:30 UTC
Ever since upgrading to udev-059, cdsymlinks stopped working. As soon as I commented out the line for the ide-devfs script in 50-udev.rules, it started working again. I have absolutely no idea why, as they were coexisting just fine previously. There doesn't seem there's been any relevant configuration changes either, so it seems to be an issue with udev itself. I downgraded to 058 and everything works fine again.
Comment 1 jack_mort 2005-07-04 11:04:40 UTC
I can confirm this also, and still with 060.
Comment 2 Stefan Jones (RETIRED) gentoo-dev 2005-07-05 20:47:29 UTC
Following patch fixes it, just change SYMLINK="blah" to SYMLINK+="blah"

The added udev feature was not fully backwards compatable!

--- 50-udev.rules.jj    2005-07-05 20:42:47.000000000 -0700
+++ 50-udev.rules       2005-07-05 20:44:05.000000000 -0700
@@ -16,13 +16,13 @@
 SUBSYSTEM="block", GROUP="disk"

 # cdrom symlinks and other good cdrom naming
-BUS="ide",  KERNEL="hd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k",
SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
-BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k",
SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
-BUS="scsi", KERNEL="scd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k",
SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="ide",  KERNEL="hd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k",
SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k",
SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="scsi", KERNEL="scd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k",
SYMLINK+="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"

 # devfs-names for ide-devices (uncomment only one)
 #  /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names
-BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n",
NAME="%k", SYMLINK="%c{1} %c{2}", GROUP="%c{3}"
+BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n",
NAME="%k", SYMLINK+="%c{1} %c{2}", GROUP="%c{3}"

 # disk devices
 KERNEL="sd*",          NAME="%k", GROUP="disk"
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-07-06 15:02:38 UTC
Fixed in 061 release, thanks for finding this.