[Bug 208668] New: udev does not create symlinks for ID_PATH rules
https://bugzilla.novell.com/show_bug.cgi?id=208668 Summary: udev does not create symlinks for ID_PATH rules Product: SUSE Linux 10.1 Version: Final Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: aj@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de udev as shipped with SLES10 (and 10.1) will not create symlinks for rules with ID_PATH rules. The reason is the incomplete (or broken) /sbin/path_id. line 360 in /sbin/path_id has this: if [ -L $full_sysfs_path/subsystem ]; then This does not trigger with SLES10 kernel, the correct code branch is taken. With a newer kernel, the broken branch is used and as a result, nothing is returned and the rule does not match. If the above 'subsystem' is changed to 'sUbsystem' to hard disable the branch, a 2.6.18 will again create value symlinks. Updating udev.rpm is of course not an option. If SLES10 were based in 10.0 instead of 10.1, it would mean that one can not use the SLES10 kernel anymore after the package update because udevstart is missing. I demand an udev.rpm update with a fixed path_id. The 'subsystem' test above and its code in the branch has to go. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com AssignedTo|aj@novell.com |kukuk@novell.com ------- Comment #1 from aj@novell.com 2006-09-29 06:15 MST ------- So, the problem is that you cannot run a 2.6.18 kernel on SLES10 or SL10.1? And you're asking for an update of udev to fix this? Since we have a common code base, this is a SLE10 decision that Thorsten should make. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 ------- Comment #2 from olh@novell.com 2006-09-29 10:52 MST ------- I can run 2.6.18 just fine, just the symlinks will not be created due to breakage in path_id. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 kukuk@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #3 from kukuk@novell.com 2006-10-02 02:45 MST ------- I don't understand anything anymore. Is there a problem on SL10.1/SLES10 with the SL10.1/SLES10 kernel or not? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #4 from olh@novell.com 2006-10-02 03:05 MST ------- there is no problem with the kernel. SLES10 cant be used properly as development platform. This is the patch we are talking about: Index: udev/path_id =================================================================== --- udev.orig/path_id +++ udev/path_id @@ -357,19 +357,6 @@ handle_usb () { handle_device () { full_sysfs_path="$SYSFS$DEVPATH" - if [ -L $full_sysfs_path/subsystem ]; then - # new sysfs block layout - full_sysfs_path="${full_sysfs_path%/*}" - cd "$full_sysfs_path/subsystem"; - subsys="`pwd -P`" - cd "$OPWD" - subsys="${subsys##*/}" - if [ "$subsys" == "block" ]; then - # parent is "block", it's a partition, move one up - full_sysfs_path="${full_sysfs_path%/*}" - fi - cd $full_sysfs_path - else # old sysfs block layout if [ ! -L $full_sysfs_path/device ] ; then if [ -f $full_sysfs_path/range ] ; then return ; fi @@ -380,7 +367,6 @@ handle_device () { fi fi cd $full_sysfs_path/device - fi full_sysfs_device_path="`pwd -P`" cd "$OPWD" D=$full_sysfs_device_path -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 kukuk@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX ------- Comment #5 from kukuk@novell.com 2006-10-02 03:08 MST ------- So we will not make a for our customers uncessary update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Comment #6 from olh@novell.com 2006-10-02 05:04 MST ------- there is already a new udev.rpm pending for SP1, its out on the web. Another change will not hurt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 kukuk@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX ------- Comment #7 from kukuk@novell.com 2006-10-02 06:02 MST ------- Every signle change will hurt and needs resoures/QA. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208668 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com