Bug 152790

Summary: mkinitrd fails for rootfs on LVM2
Product: [openSUSE] SUSE Linux 10.1 Reporter: Carl-Daniel Hailfinger <kernel01>
Component: KernelAssignee: Hannes Reinecke <hare>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hare
Version: Beta 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Diff against current mkinitrd

Description Carl-Daniel Hailfinger 2006-02-22 14:41:39 UTC
mkinitrd creates a broken initrd if the root filesystem is on LVM2.

Attached patch fixes two things:
- vg_line would match multiple lines for more than 10 logical volumes
- vg_root is the second, not the third field in vg_line
Comment 1 Carl-Daniel Hailfinger 2006-02-22 14:43:51 UTC
Created attachment 69796 [details]
Diff against current mkinitrd
Comment 2 Hannes Reinecke 2006-03-01 14:08:39 UTC
Fixed in our CVS. Updated mkinitrd will be on the next beta.