[Bug 905607] Re: software raid component drives erroneously detected
Colin Watson
cjwatson at canonical.com
Tue May 21 21:43:02 UTC 2013
Thanks! Committed upstream.
** Changed in: os-prober (Ubuntu)
Assignee: (unassigned) => Colin Watson (cjwatson)
--
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:
Triaged
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