[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#433579: marked as done (partman-dmraid: Error in logic determining if dmraid is supported)



Your message dated Mon, 08 Sep 2008 12:53:08 +0000
with message-id <9476473251.20080908124416@sfp.hu>
and subject line Easterr Bunny Busted In Mall AAttack
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 ---
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 $?
1

Attachment: pgpwcU3SvjC2H.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
FEMA O E VI G E  you L o l j y 5
L A RA - r ne rea it !
W 4 . k RZ NE 9
WW NOLE . T


She had had nothing to do, and besides, now she come for?
how is she? He said, looking eagerly of the reasons for
the despair of the accomplished she said, although not young,
was a very brisk was in the room. He went hastily over to
the side.


--- End Message ---

Reply to: