Your message dated Sat, 25 Apr 2009 17:47:14 +0000
with message-id <[email protected]>
and subject line Bug#519328: fixed in mdadm 2.6.9-1
has caused the Debian Bug report #519328,
regarding mdadm: initramfs hook should warn on old mdadm.conf (patch)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
519328: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519328
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mdadm
Version: 2.6.7.2-1
Severity: minor

This patch warns if /etc/mdadm/mdadm.conf has some devices but not all.

I hadn't realised you were supposed to edit /etc/mdadm/mdadm.conf each
time you created a new md device.  

/usr/share/initramfs-tools/hooks/mdadm looks like it will ensure a
scan takes place if /etc/mdadm/mdadm.conf is devoid of any MD devices.
However if you have an one from a long time ago (and have perhaps just
added another MD device into your root volume group), only the
original MD device is assembled in the initramfs and you can't boot.

Hopefully this will save someone else hitting this issue.

Adrian
-- 
Email: [email protected]  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org
--- /var/tmp/mdadm.orig	2009-03-11 20:55:01.000000000 +0000
+++ mdadm	2009-03-11 21:30:58.000000000 +0000
@@ -231,6 +231,18 @@
     esac
   done
 
+  # see if /etc/mdadm/mdadm.conf looks like it's missing devices
+  if [ -x /sbin/mdadm ]; then
+    /sbin/mdadm --detail --scan | while read array device rubbish; do
+      if !  echo $devs | grep -w $device >/dev/null; then
+        warn "You appear to be missing $device from /etc/mdadm/mdadm.conf"
+	warn "If this is required to boot you must add this line:"
+        rubbish=`echo $rubbish | sed 's/metadata=[^ ]* //'`
+	warn "$array $device $rubbish"
+      fi
+    done
+  fi
+
   for i in $INITRDSTART; do
     case "$INITRDSTART" in all|none|'') break;; *) :;; esac
     case "$devs" in

--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 2.6.9-1

We believe that the bug you reported is fixed in the latest version of
mdadm, which is due to be installed in the Debian FTP archive:

mdadm-udeb_2.6.9-1_amd64.udeb
  to pool/main/m/mdadm/mdadm-udeb_2.6.9-1_amd64.udeb
mdadm_2.6.9-1.diff.gz
  to pool/main/m/mdadm/mdadm_2.6.9-1.diff.gz
mdadm_2.6.9-1.dsc
  to pool/main/m/mdadm/mdadm_2.6.9-1.dsc
mdadm_2.6.9-1_amd64.deb
  to pool/main/m/mdadm/mdadm_2.6.9-1_amd64.deb
mdadm_2.6.9.orig.tar.gz
  to pool/main/m/mdadm/mdadm_2.6.9.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
martin f. krafft <[email protected]> (supplier of updated mdadm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 25 Apr 2009 19:04:47 +0200
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: source amd64
Version: 2.6.9-1
Distribution: unstable
Urgency: low
Maintainer: Debian mdadm maintainers <[email protected]>
Changed-By: martin f. krafft <[email protected]>
Description: 
 mdadm      - tool to administer Linux MD arrays (software RAID)
 mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
Closes: 497949 510641 516605 516802 519328 522300
Changes: 
 mdadm (2.6.9-1) unstable; urgency=low
 .
   * New upstream release.
   * Do not set -eu in the bugscript to maximise information output in the case
     of errors.
   * Make initramfs script depend on multipath to ensure its script is run
     before ours (closes: #516605).
   * Provide an alternative (postfix) for mail-transport-agent (closes:
     #522300). I chose postfix because that's the only one I could recommend,
     and since the alternative does not affect people who already have an MTA
     installed, or have a preference, it won't affect them.
   * Honour debconf pre-selection of mdadm/initrdstart (closes: #516802).
   * Incorporate patch from Adrian Bridgett: the initramfs hook now checks to
     see if all known arrays are listed in mdadm.conf and issues a warning if
     this is not the case (closes: #519328).
   * Make checkarray skip over arrays still marked auto-read-only
     (closes: #510641).
   * Add cron.daily snippet from Paul Slootman to run one-shot scans every day
     to ensure that failed arrays don't go unnoticed (closes: #497949).
   * Bumped Standards-Version to 3.8.1; no changes necessary.
Checksums-Sha1: 
 46f562daedba9aa1745234cdfc0f34570cbcc2fd 1253 mdadm_2.6.9-1.dsc
 1695586a18ca5a16b0cdb4b94f61c4d95ff01b55 215344 mdadm_2.6.9.orig.tar.gz
 98f19f056e303c182afbb8beda07739cdc6505bf 136899 mdadm_2.6.9-1.diff.gz
 b70f32945d5f3dd929aca4e47cd43dab8618b8fa 274302 mdadm_2.6.9-1_amd64.deb
 b9044aac7c7548645c575be08bbc3601241f4508 77702 mdadm-udeb_2.6.9-1_amd64.udeb
Checksums-Sha256: 
 d9791e7d01e404f63ed684fe5481f82e939113bed42b39e42f0b16942529044b 1253 
mdadm_2.6.9-1.dsc
 2c9cac849cea9626547bcc8dc4b83c79c26f42f0df61a4152bf34f15b5638363 215344 
mdadm_2.6.9.orig.tar.gz
 0a541d076e2f5acbbcbbb6bd161ddd4af72b66b7d9422856fc78a761fa086926 136899 
mdadm_2.6.9-1.diff.gz
 9d8609e9c8be9a7f46693f4992ff7a28f50922e8696108ccb944d424878dc909 274302 
mdadm_2.6.9-1_amd64.deb
 cd75b526dee9c944a56b08f9349b1d6454228be43d1172a475b8b8df72eccfb9 77702 
mdadm-udeb_2.6.9-1_amd64.udeb
Files: 
 c51f59c48605a4b9201d4615cd1489ad 1253 admin optional mdadm_2.6.9-1.dsc
 beaa0f066288441d9b3ad1ef67fa0237 215344 admin optional mdadm_2.6.9.orig.tar.gz
 cc5c9b74a6a7868a024225fda4a2e1bd 136899 admin optional mdadm_2.6.9-1.diff.gz
 475c4c8698309f3a6a0cb0eaa82f2318 274302 admin optional mdadm_2.6.9-1_amd64.deb
 0aeb50dd5f2001cd74d36403e50e48c9 77702 debian-installer optional 
mdadm-udeb_2.6.9-1_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknzTBoACgkQIgvIgzMMSnUjhwCglqypssXInkBN2/Bv3ttigKpk
8u4An0b4aToGhjFea0E+Pn4YxI0W+BpM
=59my
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to