[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
http://bugzilla.novell.com/show_bug.cgi?id=551967
http://bugzilla.novell.com/show_bug.cgi?id=551967#c
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=551967
http://bugzilla.novell.com/show_bug.cgi?id=551967#c2
--- Comment #2 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=551967
http://bugzilla.novell.com/show_bug.cgi?id=551967#c3
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=551967
https://bugzilla.novell.com/show_bug.cgi?id=551967#c4
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=551967
http://bugzilla.novell.com/show_bug.cgi?id=551967#c5
--- Comment #5 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com