[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
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
https://bugzilla.novell.com/show_bug.cgi?id=447966
Jan Engelhardt
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
participants (1)
-
bugzilla_noreply@novell.com