Here is an improved patch. I had a closer look, and as far as I know, there is no need to depend on module-init-tools. On the other hand, I suspect the mdadm script should have a relationship on mdadm-raid. This patch implement these changes.
It might be an idea to conflict with/break older versions of cryptsetup, to reduce the chance of init.d script dependency loops during upgrades. diff -ru mdadm-3.0/debian/mdadm.init mdadm-3.0-pere/debian/mdadm.init --- mdadm-3.0/debian/mdadm.init 2009-10-24 23:46:21.000000000 +0200 +++ mdadm-3.0-pere/debian/mdadm.init 2009-10-24 23:48:59.000000000 +0200 @@ -8,9 +8,8 @@ # ### BEGIN INIT INFO # Provides: mdadm -# Required-Start: checkroot -# Required-Stop: umountroot -# Should-Start: module-init-tools +# Required-Start: $local_fs $syslog mdadm-raid +# Required-Stop: $local_fs $syslog mdadm-raid # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: MD monitoring daemon Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org