[Bug 905607] Re: software raid component drives erroneously detected

Matthias Andree 905607 at bugs.launchpad.net
Sat Dec 15 00:39:43 UTC 2012


I am having the same problem, and the patch solves the problem for me on
precise. Please upgrade the os-prober package.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/905607

Title:
  software raid component drives erroneously detected

Status in “os-prober” package in Ubuntu:
  Confirmed

Bug description:
  Recent versions of os-prober have been erroneously reporting the
  component drives of a software (mdadm) array which results in grub2
  adding boot entries for these drives.  For example, my / filesystem is
  mounted on /dev/md0 and /proc/mdstat contains:

  md0 : active raid1 sdb1[1] sda1[0]
        24000960 blocks [2/2] [UU]

  Running os-prober reports:

  /dev/sda1:Ubuntu 11.10 (11.10):Ubuntu:linux
  /dev/sdb1:Ubuntu 11.10 (11.10):Ubuntu2:linux

  The problem is a missing backslash on line 84 of /usr/bin/os-prober
  which reads:

  "dev="${word%%[*}"

  and should instead read:

  dev="${word%%\[*}"

  I have confirmed that this bug is present in Ubuntu Oneiric and
  Precise.

  John

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/905607/+subscriptions




More information about the foundations-bugs mailing list