Package: mdadm Version: 2.6.9-3 Severity: normal Hello,
My / is inside an LVM which is itself inside an MD device. I've just switched to insserv 1.12.0-10, and RAID arrays are stopped (or let's say fail to be stopped) at the beginning of the shutdown sequence. The attached patch makes mdadm-raid stop at the right time (... at least on my system :). Cheers, -- Stephane -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mdadm depends on: ii debconf 1.5.27 Debian configuration management sy ii libc6 2.9-23 GNU C Library: Shared libraries ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii udev 0.141-1 /dev/ and hotplug management daemo Versions of packages mdadm recommends: ii module-init-tools 3.9-2 tools for managing Linux kernel mo ii ssmtp [mail-transport-agent] 2.63-1 extremely simple MTA to get mail o mdadm suggests no packages. -- debconf information: mdadm/autostart: true mdadm/mail_to: root mdadm/initrdstart_msg_errmd: * mdadm/initrdstart: all mdadm/initrdstart_msg_errconf: mdadm/initrdstart_notinconf: false mdadm/initrdstart_msg_errexist: mdadm/initrdstart_msg_intro: mdadm/autocheck: true mdadm/initrdstart_msg_errblock: mdadm/start_daemon: true
--- mdadm-2.6.9/debian/mdadm-raid 2009-08-17 15:00:17.000000000 +0200 +++ /etc/init.d/mdadm-raid 2009-08-17 14:54:10.000000000 +0200 @@ -11,7 +11,8 @@ # Required-Start: mountkernfs # Should-Start: udev devfsd # Required-Stop: mountkernfs -# Should-Stop: udev devfsd +# Should-Stop: udev devfsd kexec +# X-Stop-After: umountroot # Default-Start: S # Default-Stop: 0 6 # Short-Description: MD array assembly