[Bug 905607] Re: software raid component drives erroneously detected
John Ryan
j.m.ryan at optusnet.com.au
Sat Dec 17 04:08:04 UTC 2011
** Patch added: "os-prober-mdadm.patch"
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/905607/+attachment/2636789/+files/os-prober-mdadm.patch
** Tags added: patch
--
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:
New
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