[Bug 551967] New: mkinitrd: kernel command line parameter with spaces do not work

http://bugzilla.novell.com/show_bug.cgi?id=551967 Summary: mkinitrd: kernel command line parameter with spaces do not work Classification: openSUSE Product: openSUSE 11.2 Version: RC 2 Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ml@newton.leun.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 As far as I know syntax for specifing luks devices on kernel command line is: luks="foo bar" luks_foo=/dev/vg/foo luks_bar=/dev/vg/bar But this does not work, EOF while searching for matching '"`. Looking at script /lib/mkinitrd/scripts/boot-start.sh this is no surprise, code like # kernel commandline parsing for o in $(cat /proc/cmdline); do will certainly not work with spaces involved. Note: The config file mimic (/boot/config/... in initrd) does not help very much, because I need the devices to be initialized in defined order. This happened to work in openSuse11.0 when specifying on kernel command line but does not when the config file mechanism in 11.1/11.2 comes into play. Reproducible: Always Steps to Reproduce: 1. Add 'luks="foo bar"' to kernel command line (e.g. grub/menu.lst) 2. reboot Actual Results: eval line 72: unexpected EOF while looking for matching '"` eval line 72: syntax error: unexpected end of file -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=551967 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@novell.com AssignedTo|bnc-team-screening@forge.pr |mvancura@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=551967 http://bugzilla.novell.com/show_bug.cgi?id=551967#c Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=551967 http://bugzilla.novell.com/show_bug.cgi?id=551967#c2 --- Comment #2 from Michal Marek <mmarek@novell.com> 2010-04-16 11:21:15 UTC --- The syntax errors are fixed by http://gitorious.org/opensuse/mkinitrd/commit/b5219d9044032b47009cb27febf137..., but the result will be luks='"foo' -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=551967 http://bugzilla.novell.com/show_bug.cgi?id=551967#c3 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |Future 11.3 --- Comment #3 from Michal Marek <mmarek@novell.com> 2010-04-16 13:22:50 UTC --- Fixed with http://gitorious.org/opensuse/mkinitrd/commit/9a69d38585d7c56f35c831f8b93aed.... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=551967 https://bugzilla.novell.com/show_bug.cgi?id=551967#c4 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.1:36503 --- Comment #4 from Swamp Workflow Management <swamp@suse.com> 2010-11-11 07:42:12 UTC --- Update released for: mkinitrd, mkinitrd-debuginfo, mkinitrd-debugsource Products: openSUSE 11.1 (debug, i586, ppc, x86_64) -- 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.

http://bugzilla.novell.com/show_bug.cgi?id=551967 http://bugzilla.novell.com/show_bug.cgi?id=551967#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (551967) was mentioned in https://build.opensuse.org/request/show/38633 Factory / mkinitrd https://build.opensuse.org/request/show/50796 11.1:Test / mkinitrd -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com