[Bug 447966] New: mkinitrd: badly quoted variables

https://bugzilla.novell.com/show_bug.cgi?id=447966 Summary: mkinitrd: badly quoted variables Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer A lot of code in /lib/mkinitrd uses unquoted variables which leads to spurious errors should they be empty. They happen to be empty because of another bug (follows). Still, for good coding style, this should be fixed. Such as in /lib/mkinitrd/setup/61-dmraid.sh: if [ $blockdriver = device-mapper ]; should read if [ "$blockdriver" = device-mapper ]; (or if [[ $blockdriver or if [[ "$blockdriver", since bash is used) This lack of quotes is sprinkled throughout everything and should be addressed. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=447966 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |hare@novell.com -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=447966 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=447966#c1 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Hannes Reinecke <hare@novell.com> 2008-11-24 01:45:14 MST --- Updated dmraid and mkinitrd rpm submitted to autobuild. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=447966 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=447966 User swamp@suse.com added comment https://bugzilla.novell.com/show_bug.cgi?id=447966#c2 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.1:23407 --- Comment #2 from Swamp Workflow Management <swamp@suse.com> 2009-03-25 02:29:14 MST --- Update released for: kpartx, multipath-tools 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.
participants (1)
-
bugzilla_noreply@novell.com