Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144365 - sys-apps/mkinitrd-3.5.7 copies softlinks to initrd volume
Summary: sys-apps/mkinitrd-3.5.7 copies softlinks to initrd volume
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 324741
Blocks:
  Show dependency tree
 
Reported: 2006-08-18 17:04 UTC by Jim Brownfield
Modified: 2010-07-21 12:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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