Bug 300550

Summary: root=LABEL=blubber does not work anymore
Product: [openSUSE] openSUSE 10.3 Reporter: Olaf Hering <ohering>
Component: BasesystemAssignee: John Jolly <jjolly>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hare, sles
Version: Beta 1   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Fixes keyname including multiple '='

Description Olaf Hering 2007-08-15 08:44:53 UTC
root=LABEL=blubber does not work anymore with 10.3b1.
init cant find /dev/root. it asks to use a fallback of /dev/disk/by-id/something.

dont break established interfaces.
Comment 1 John Jolly 2007-09-06 20:23:48 UTC
Created attachment 162469 [details]
Fixes keyname including multiple '='

When the init boot scripts are attempting to parse the kernel command line options, the keyname is acquired by performing a Bash string truncation of everything from the end of the string to the first equal sign found (minimal match).  This rather should be from the end of the string to the last equal sign found (maximal match).  This patch adds the extra percent sign to cause the maximal match to occur.
Comment 3 Hannes Reinecke 2007-09-07 10:49:54 UTC
Fix pulled into mkinitrd git. Will be submitting a new rpm.
Comment 4 Hannes Reinecke 2007-09-07 10:53:34 UTC
*** Bug 307704 has been marked as a duplicate of this bug. ***