I've recently had call to use dmraid for my root disk and as such needed this support. I've attached the patch I took from Ubuntu and applied to the Debian package, which makes it work fine for me. Please consider applying this (and also fixing #367796 - I found moving dmraid to 04 from 03 did the trick).
Thanks, J. -- jid: [EMAIL PROTECTED] "What the f**k was that?" -- Mayor of Hiroshima
diff -ruN dmraid-0.9.9+1.0.0.rc9.orig/debian/changelog dmraid-0.9.9+1.0.0.rc9/debian/changelog --- dmraid-0.9.9+1.0.0.rc9.orig/debian/changelog 2006-07-17 15:32:52.000000000 +0100 +++ dmraid-0.9.9+1.0.0.rc9/debian/changelog 2006-07-16 19:44:03.000000000 +0100 @@ -1,3 +1,11 @@ +dmraid (0.9.9+1.0.0.rc9-3.1) dapper; urgency=low + + * Include the initramfs hook and script contributed by Tormod Volden, + so dmraid can integrate effortlessly (closes: launchpad.net/22107) + * Call update-initramfs in our postinst, if we have it on the system. + + -- Adam Conrad <[EMAIL PROTECTED]> Wed, 17 May 2006 19:16:59 +1000 + dmraid (0.9.9+1.0.0.rc9-3) unstable; urgency=low * add dmraid-udeb by popular request, looking forward for d-i integration diff -ruN dmraid-0.9.9+1.0.0.rc9.orig/debian/dmraid.initramfs-hook dmraid-0.9.9+1.0.0.rc9/debian/dmraid.initramfs-hook --- dmraid-0.9.9+1.0.0.rc9.orig/debian/dmraid.initramfs-hook 1970-01-01 01:00:00.000000000 +0100 +++ dmraid-0.9.9+1.0.0.rc9/debian/dmraid.initramfs-hook 2006-07-16 19:43:15.000000000 +0100 @@ -0,0 +1,26 @@ +#!/bin/sh + +PREREQ="" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +if [ -x /sbin/dmraid ]; then + manual_add_modules dm-mod + manual_add_modules dm-mirror + copy_exec /sbin/dmraid sbin +fi + +exit 0 diff -ruN dmraid-0.9.9+1.0.0.rc9.orig/debian/dmraid.initramfs-local dmraid-0.9.9+1.0.0.rc9/debian/dmraid.initramfs-local --- dmraid-0.9.9+1.0.0.rc9.orig/debian/dmraid.initramfs-local 1970-01-01 01:00:00.000000000 +0100 +++ dmraid-0.9.9+1.0.0.rc9/debian/dmraid.initramfs-local 2006-07-17 15:31:00.000000000 +0100 @@ -0,0 +1,22 @@ +#!/bin/sh + +PREREQ="udev" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +modprobe dm-mod +modprobe dm-mirror + +[ -x /sbin/dmraid ] && /sbin/dmraid -ay + diff -ruN dmraid-0.9.9+1.0.0.rc9.orig/debian/dmraid.postinst dmraid-0.9.9+1.0.0.rc9/debian/dmraid.postinst --- dmraid-0.9.9+1.0.0.rc9.orig/debian/dmraid.postinst 1970-01-01 01:00:00.000000000 +0100 +++ dmraid-0.9.9+1.0.0.rc9/debian/dmraid.postinst 2006-07-16 19:43:15.000000000 +0100 @@ -0,0 +1,13 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + configure) + if [ -x /usr/sbin/update-initramfs ]; then + /usr/sbin/update-initramfs -u + fi + ;; +esac diff -ruN dmraid-0.9.9+1.0.0.rc9.orig/debian/rules dmraid-0.9.9+1.0.0.rc9/debian/rules --- dmraid-0.9.9+1.0.0.rc9.orig/debian/rules 2006-07-17 15:32:52.000000000 +0100 +++ dmraid-0.9.9+1.0.0.rc9/debian/rules 2006-07-16 19:43:15.000000000 +0100 @@ -73,6 +73,11 @@ cd ${buildroot}/standard && make DESTDIR=../../../dmraid install && rm -rf debian/dmraid/lib + install -m 755 -D debian/dmraid.initramfs-hook \ + debian/dmraid/usr/share/initramfs-tools/hooks/dmraid + install -m 755 -D debian/dmraid.initramfs-local \ + debian/dmraid/usr/share/initramfs-tools/scripts/local-top/dmraid + dh_link dh_installdocs ${version}/{CREDITS,KNOWN_BUGS,README,TODO} dh_installchangelogs ${version}/CHANGELOG