Bug 130327

Summary: mkinitrd-4.0.6-1 removes /lost+found directory when making initramfs
Product: [Fedora] Fedora Reporter: Constantin <kostya.nipi>
Component: mkinitrdAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 4.1.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-19 15:04:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268    

Description Constantin 2004-08-19 05:18:41 UTC
Description of problem:

Version-Release number of selected component (if applicable):
4.0.6-1

How reproducible:
mkinitrd /boot/initrd-2.6.8.1 2.6.8.1

Actual results:
due to undefined $MNTPOINT for initramfs it deletes lost+found on "/"
filesystem (mkinitrd script, line #556)

Additional info: e2fsck reports error about missing lost+found
may be cured by embracing line #556 
with: 
if [ -z "$initramfs" ]; then 
...
fi

Comment 1 Jeremy Katz 2004-08-19 15:04:23 UTC
Thanks, fixed in CVS (will be in 4.1.1)