Comment 12 for bug 495370

Revision history for this message
Jools Wills (jools) wrote : Re: Please upgrade to 3.1.x for lucid

I haven't sorted a ppa yet, but I stuck my package up here http://malus.exotica.org.uk/~buzz/mdadm/

My changes:
3.1.2 wants to put its map file by default at /var/run/map so

init-top script to make a /var/run folder for the map file (would be
better in initramfs init - but I only want to maintain one package here
and not mess with the important stuff)

init-bottom script to copy the map file to .initramfs in /dev (temporary
as root is read only at this point).

change in the init script that starts the monitor service to copy the
map file to /var/run/map

change in package postinst, to not try and run a non
existent /dev/MAKEDEV

If you try this out, please make sure you can recover your system and
install the old mdadm back. However, it works for me.