[Bug 216117] New: mkinitrd create error in initrd init script for setting vg_root
https://bugzilla.novell.com/show_bug.cgi?id=216117 Summary: mkinitrd create error in initrd init script for setting vg_root Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: SuSE Linux 10.1 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: r.friedwagner@gmx.net QAContact: qa@suse.de At least if you use lvm2 on top of software raid you get at boot time an error message about setting vg_root (e.g. /init: ... line 601). Reason: /sbin/mkinitrd in package mkinitrd-1.2-106.19 generates erroneous shellscript code ...
if [ -z "$vg_root" ]; then vg_root= xxx fi
Fix: --- /sbin/mkinitrd.ori 2006-10-29 11:38:20.000000000 +0100 +++ /sbin/mkinitrd 2006-10-29 11:38:57.000000000 +0100 @@ -3036,7 +3036,7 @@ fi # Check whether we are using LVM2 if [ -z "$root_evms" ] ; then - vg_root=$(lvs --noheadings -o vg_name,lv_kernel_major,lv_kernel_minor | sed -n "s/ \(.*\) *$major *$minor/\1/p") + vg_root=$(lvs --noheadings -o vg_name,lv_kernel_major,lv_kernel_minor | sed -n "s/ *\(.*\) *$major *$minor/\1/p") if [ "$vg_root" ] ; then root_lvm2=1 fi Best Regards, Roland Friedwagner -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216117 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216117 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |hare-mkinitrd-sles10-update -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216117 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |hare@novell.com |screening@forge.provo.novell| |.com | Status|ASSIGNED |NEW -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216117 ------- Comment #1 from r.friedwagner@gmx.net 2006-11-04 00:41 MST ------- Same Error in package mkinitrd-1.2-106.22 which comes in via zmd yesterday. Best Regards, Roland -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216117 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hare@novell.com AssignedTo|hare@novell.com |ast@novell.com Status Whiteboard|hare-mkinitrd-sles10-update | ------- Comment #2 from hare@novell.com 2006-11-06 02:11 MST ------- Updated mkinitrd rpm has been submitted to autobuild. Reassigning to maintenance. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216117 hmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from hmuelle@novell.com 2006-11-13 07:43 MST ------- Maintenance tracking is done via SWMAP -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com