list-devices doesn't work if there are no dmraid devices

Bug #514595 reported by Joel Ebel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
debian-installer-utils (Ubuntu)
Fix Released
High
Colin Watson
Lucid
Fix Released
High
Colin Watson

Bug Description

list-devices now calls dmraid to detect dmraid disks and partitions. If no dmraid devices are present, dmraid exits non-zero, causing list-devices to exit because it is set -e. Adding an || true to the dmraid command fixes this. Patch attached.

Tags: glucid
Revision history for this message
Joel Ebel (jbebel) wrote :
Changed in debian-installer (Ubuntu):
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

Whoops, my bad. Fixing, thanks.

Changed in debian-installer-utils (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Changed in debian-installer (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debian-installer-utils - 1.72ubuntu3

---------------
debian-installer-utils (1.72ubuntu3) lucid; urgency=low

  * Backport from trunk:
    - list-devices: Don't fall over if dmraid fails (thanks, Joel Ebel;
      LP: #514595).
 -- Colin Watson <email address hidden> Thu, 04 Feb 2010 11:27:40 -0800

Changed in debian-installer-utils (Ubuntu Lucid):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.