Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144365

Summary: sys-apps/mkinitrd-3.5.7 copies softlinks to initrd volume
Product: Gentoo Linux Reporter: Jim Brownfield <Jim_Brownfield>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 324741    
Bug Blocks:    

Description Jim Brownfield 2006-08-18 17:04:49 UTC
mkinitrd 3.5.7
kernel 2.6.17-gentoo-r4
mknod GNU 5.94

When creating Gentoo on a raid (md) root device, mknod appears to want to create the "/dev/md?" files as soft links pointing to the "real" nodes at "/dev/md/?".  However, mkinitrd copies the "/dev/md?" nodes to the initrd volume as softlinks, causing a kernel panic at boot time since there is no real device on the volume.  Using "cp -aL" instead of "cp -a" in mkinitrd for the device copying seems to resolve this issue.
Comment 1 Sergey Belyashov 2007-06-03 08:55:17 UTC
same problem in sys-apps/mkinitrd-4.2.0.3 and in newer RH release - 4.2.1.10.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-21 12:51:40 UTC
gone