software raid component drives erroneously detected
Bug #905607 reported by
John Ryan
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
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)
/dev/sdb1:Ubuntu 11.10 (11.10)
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
Related branches
To post a comment you must log in.
The attachment "os-prober- mdadm.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]