Your message dated Sat, 1 Aug 2009 21:36:43 +0200 with message-id <200908012136.43998.elendil@planet.nl> and subject line Bug#433579: partman-dmraid: Error in logic determining if dmraid is supported has caused the Debian Bug report #433579, regarding partman-dmraid: Error in logic determining if dmraid is supported 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 owner@bugs.debian.org immediately.) -- 433579: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433579 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: BTS submit <submit@bugs.debian.org>
- Subject: partman-dmraid: Error in logic determining if dmraid is supported
- From: Frans Pop <elendil@planet.nl>
- Date: Wed, 18 Jul 2007 05:32:10 +0200
- Message-id: <200707180532.20986.elendil@planet.nl>
Package: partman-dmraid Version: 1 Severity: important On some systems, dmraid -s -c will return "no block devices found" on stdout with an exit code of 0, and not "No RAID disks". This was seen on a system with cciss, so this is likely a condition that is hit before the "No RAID disks" condition (something like "no suitable controller detected"). Result of this issues is that incorrect paths are taken (as if dmraid devices were detected). It would be nice if dmraid would return a non-zero error code in those cases instead having to parse the output of the command... This also affects: - base-installer - hw-detect - partman-base - grub-installer One solution could be to run something like (assuming that no "%" would be used in error messages): dmraid -s -c r,t --sep "%" | grep "%" | cut -d% -f1 Command needs checking! Note that we should also test for the exit code as dmraid _can_ exit non-zero! Example with /sys not mounted (the errors go to stderr!): # dmraid -s ERROR: opening path /sys/block ERROR: failed to discover devices # echo $? 1Attachment: pgp21wKkO3vXz.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 433579-done@bugs.debian.org
- Subject: Bug#433579: partman-dmraid: Error in logic determining if dmraid is supported
- From: Frans Pop <elendil@planet.nl>
- Date: Sat, 1 Aug 2009 21:36:43 +0200
- Message-id: <200908012136.43998.elendil@planet.nl>
After the release of Lenny dmraid was fixed to return an error code and its use in D-I has been updated to test for that. See for example base-installer (1.99). Therefore closing.
--- End Message ---