Comparing with an old (9.04) kubuntu, I noticed that /usr/share/initramfs-tools/scripts/functions contained a definition for add_mountroot_fail_hook, whereas the same file for 10.04 no longer contains that definition.
initramfs-tools (which supplies the definition) is 0.92b in 9.04 and 0.93.2 in 10.04.
mdadm, on the other hand, is 2.6.7.1-1 in both versions.
It looks as if someone simply assumed that add_mountroot_fail_hook was no longer needed, without actually checking...
So, can we either have this back in the new initramfs-tools version, or have an updated mdadm version which no longer needs it?
Comparing with an old (9.04) kubuntu, I noticed that /usr/share/ initramfs- tools/scripts/ functions contained a definition for add_mountroot_ fail_hook, whereas the same file for 10.04 no longer contains that definition.
initramfs-tools (which supplies the definition) is 0.92b in 9.04 and 0.93.2 in 10.04.
mdadm, on the other hand, is 2.6.7.1-1 in both versions.
It looks as if someone simply assumed that add_mountroot_ fail_hook was no longer needed, without actually checking...
So, can we either have this back in the new initramfs-tools version, or have an updated mdadm version which no longer needs it?