Comment 4 for bug 550131

Revision history for this message
Jools Wills (jools) wrote : Re: initramfs missing /var/run/mdadm/ dir (loosing state, race, misconfig)

Why has this been set to incomplete? The initial explanation is quite clear. /var/run doesn't exist at the initramfs stage and it will fail. If you updated to a new mdadm, this will use /dev/.mdadm folder for the map file - this exists throughout the initramfs and is carried over once root is mounted/booted. Tou could also fix this easily enough in the current version, but this is very old now.

from the number of bugs relating to mdadm (not surpising since the version in ubuntu is so old and mismatched against the kernel version), and being such an important core package, i would suggest mdadm gets a high priority and someone to look at it. It is also an example of where ubuntu decides to do something different from debian (using udev back when debian wasn't) but lacked the people to maintain the modified package :/

in the meantime those who want can try my lucid packages, which fixes at least a few mdadm bugs on launchpad (including this one).. (no guarantees though but I use it myself).

http://malus.exotica.org.uk/~buzz/mdadm/lucid/