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

Bug #514595 reported by Joel Ebel on 2010-01-30
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Undecided
Unassigned
Lucid
Undecided
Unassigned
debian-installer-utils (Ubuntu)
High
Colin Watson
Lucid
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.

Changed in debian-installer (Ubuntu):
status: New → Triaged
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
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  Edit
Everyone can see this information.

Other bug subscribers