Your message dated Sun, 23 Aug 2009 16:49:29 +0000
with message-id <[email protected]>
and subject line Bug#542256: fixed in dmraid 1.0.0.rc15-11
has caused the Debian Bug report #542256,
regarding [PATCH] local-top/dmraid: check return status before parsing output
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.)


-- 
542256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dmraid
Tags: patch

This avoids looping dmraid-activate with "no" "raid" "disks",
for example. (LP: 415280)

It would be better if the dmraid binary would write error messages
to stderr instead of confusing scripts which read its stdout, but until
that is fixed, this patch will do.

Signed-off-by: Tormod Volden <[email protected]>
---
 debian/initramfs/dmraid.initramfs-local-top/dmraid |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/initramfs/dmraid.initramfs-local-top/dmraid 
b/debian/initramfs/dmraid.initramfs-local-top/dmraid
index d1a09a9..d162b5a 100644
--- a/debian/initramfs/dmraid.initramfs-local-top/dmraid
+++ b/debian/initramfs/dmraid.initramfs-local-top/dmraid
@@ -18,6 +18,8 @@ esac
 
 # Activate any dmraid arrays that were not identified by udev and vol_id.
 
-for dev in $(dmraid -r -c); do
-       dmraid-activate $dev
-done
+if devices=$(dmraid -r -c); then
+       for dev in $devices; do
+               dmraid-activate $dev
+       done
+fi
-- 
1.6.3.3




--- End Message ---
--- Begin Message ---
Source: dmraid
Source-Version: 1.0.0.rc15-11

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

dmraid-udeb_1.0.0.rc15-11_i386.udeb
  to pool/main/d/dmraid/dmraid-udeb_1.0.0.rc15-11_i386.udeb
dmraid_1.0.0.rc15-11.diff.gz
  to pool/main/d/dmraid/dmraid_1.0.0.rc15-11.diff.gz
dmraid_1.0.0.rc15-11.dsc
  to pool/main/d/dmraid/dmraid_1.0.0.rc15-11.dsc
dmraid_1.0.0.rc15-11_i386.deb
  to pool/main/d/dmraid/dmraid_1.0.0.rc15-11_i386.deb
libdmraid-dev_1.0.0.rc15-11_i386.deb
  to pool/main/d/dmraid/libdmraid-dev_1.0.0.rc15-11_i386.deb
libdmraid1.0.0.rc15-udeb_1.0.0.rc15-11_i386.udeb
  to pool/main/d/dmraid/libdmraid1.0.0.rc15-udeb_1.0.0.rc15-11_i386.udeb
libdmraid1.0.0.rc15_1.0.0.rc15-11_i386.deb
  to pool/main/d/dmraid/libdmraid1.0.0.rc15_1.0.0.rc15-11_i386.deb



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.
Giuseppe Iuculano <[email protected]> (supplier of updated dmraid 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: Sun, 23 Aug 2009 18:06:13 +0200
Source: dmraid
Binary: dmraid dmraid-udeb libdmraid1.0.0.rc15-udeb libdmraid1.0.0.rc15 
libdmraid-dev
Architecture: source i386
Version: 1.0.0.rc15-11
Distribution: unstable
Urgency: low
Maintainer: Giuseppe Iuculano <[email protected]>
Changed-By: Giuseppe Iuculano <[email protected]>
Description: 
 dmraid     - Device-Mapper Software RAID support tool
 dmraid-udeb - Device-Mapper Software RAID support tool (udeb) (udeb)
 libdmraid-dev - Device-Mapper Software RAID support tool - header files
 libdmraid1.0.0.rc15 - Device-Mapper Software RAID support tool - shared library
 libdmraid1.0.0.rc15-udeb - Device-Mapper Software RAID support tool - shared 
library (udeb) (udeb)
Closes: 542256
Changes: 
 dmraid (1.0.0.rc15-11) unstable; urgency=low
 .
   * [ce4e2dc] 15_activate_multiple_raid_sets.patch: Continue onto all
     raid sets instead of returning after processing the first. (LP: #401713)
   * [58a1426] debian/initramfs/dmraid.initramfs-local-top/dmraid: Check
     the exit code before parsing output, thanks to Tormod Volden.
     (Closes: #542256) (LP: #415280, #376792)
   * [91d2b67] Updated to standards version 3.8.3 (No changes needed)
Checksums-Sha1: 
 22b0457b5fe62752737f1add8c8398691001ee3a 1395 dmraid_1.0.0.rc15-11.dsc
 60bc867aa02b8dd0d23ef6adaa2548fe05d150a5 30001 dmraid_1.0.0.rc15-11.diff.gz
 0f9efa4141692af521773379ec35984df04bec23 34792 dmraid_1.0.0.rc15-11_i386.deb
 105828732f56a8e8d72b43011c63318d80119fad 9560 
dmraid-udeb_1.0.0.rc15-11_i386.udeb
 f9fd141c2b1d0d33f5185839bdc76389135e6f25 84766 
libdmraid1.0.0.rc15-udeb_1.0.0.rc15-11_i386.udeb
 9ccedc09b8ba550a9f2fc76ee3ca6564756268ab 101532 
libdmraid1.0.0.rc15_1.0.0.rc15-11_i386.deb
 770349fa90c81db9bcb605431cdb558b12bfa0d7 139592 
libdmraid-dev_1.0.0.rc15-11_i386.deb
Checksums-Sha256: 
 62a57b9ef0d99da10c500ba0a781a7638f7ea3e5220a8c4f122a179f5d5a51c6 1395 
dmraid_1.0.0.rc15-11.dsc
 d0a2cdae5db419b1df707df4e8836bd69a9cb268ad8925ffb9fd3f8d69798465 30001 
dmraid_1.0.0.rc15-11.diff.gz
 097505b0dd3f613d7d433f5db28e1831a706a00662f934ee55402485b179f344 34792 
dmraid_1.0.0.rc15-11_i386.deb
 f2ad0a8bd277477dec343aeaa20cdbe2af8f7e56384d0da01e245abd6bbc78bb 9560 
dmraid-udeb_1.0.0.rc15-11_i386.udeb
 d4595e3ec63174f6b5211541704a576198c29f3ee6af6af51a69d1b001c690ea 84766 
libdmraid1.0.0.rc15-udeb_1.0.0.rc15-11_i386.udeb
 748a1ac28fef7c7b2b4ed95ced3f4fd51e90d643dc53b3dd4664dba6494945c2 101532 
libdmraid1.0.0.rc15_1.0.0.rc15-11_i386.deb
 4b9a219b53a6bbe67f7a9bf87df809d9b2a4550a95634a3bf11b51ed3f3c34ac 139592 
libdmraid-dev_1.0.0.rc15-11_i386.deb
Files: 
 8e0b9552ef06bcd9696eab678bf00b6a 1395 admin optional dmraid_1.0.0.rc15-11.dsc
 324d8c56e4fc5895b7f6355a7a1ead37 30001 admin optional 
dmraid_1.0.0.rc15-11.diff.gz
 3a391929464e49f4f1a53ca1e0635d4e 34792 admin optional 
dmraid_1.0.0.rc15-11_i386.deb
 231e39471f86001366af19313f0e5894 9560 debian-installer optional 
dmraid-udeb_1.0.0.rc15-11_i386.udeb
 29b87df61575b6ee97f2e2976e92f837 84766 debian-installer optional 
libdmraid1.0.0.rc15-udeb_1.0.0.rc15-11_i386.udeb
 403dcaeae6c5730cf6b8c2128d89eb6b 101532 libs optional 
libdmraid1.0.0.rc15_1.0.0.rc15-11_i386.deb
 aaafb8fcca130dcf01c81e8b2e9e9fb6 139592 libdevel optional 
libdmraid-dev_1.0.0.rc15-11_i386.deb
Package-Type: udeb

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

iEYEARECAAYFAkqRabYACgkQNxpp46476ar9EwCfVHZpetu4JxYj1FBaB5aUZy6/
zLsAniRTfB63t+t2HhbsuW5FU3uEnlod
=YJQ1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to