Bug 1111306

Summary: os-prober generates multiple entries for same LVMlv system
Product: [Fedora] Fedora Reporter: Gene Czarcinski <gczarcinski>
Component: os-proberAssignee: Hedayat Vatankhah <hedayatv>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: hedayatv
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-06 18:16:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
bugfix: when LVMlv name contains btrfs none

Description Gene Czarcinski 2014-06-19 17:14:50 UTC
Description of problem:
This occured on a qemu-kvm virtual systems with muliple disks and multiple installs.

1. If all installs are to LVMlv, then there does not appear to be a problem.

2.  Install Fedora on /dev/vda (btrfs or partition).

3.  Then, on a seond disk (vdb), install Fedora with LVM partitioning (vdb1 is ext4 and swap & root or LVMlvs).  Run grub2-install /dev/vdb so you will be able to boot this directly.  Just in case, run grub2-mkconfig -o /boot/grub2/grub.cfg

4. Reboot selecting the system you installed on /dev/vda.  Run os-prober.

The output will show two entries exactly the same.  There should only be one.

Version-Release number of selected component (if applicable):
os-prober-1.58-7

How reproducible:
certain circumstances (see above)

Comment 1 Gene Czarcinski 2014-06-22 12:53:26 UTC
Created attachment 911138 [details]
bugfix: when LVMlv name contains btrfs

The opriginal test for btrfs change for an output of blkd to contain 'btrfs'.  This is changed so that it now looks for 'TYPE="btrfs"'

Comment 2 Hedayat Vatankhah 2014-06-23 11:59:50 UTC
Thanks Gene for the report and the fix. I'll apply it.

Comment 3 Hedayat Vatankhah 2014-07-06 18:16:03 UTC
Fixed in rawhide. Updates for F19 & F20 will be built in a few minutes.

Comment 4 Fedora Update System 2014-07-06 19:28:02 UTC
os-prober-1.58-8.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/os-prober-1.58-8.fc20

Comment 5 Fedora Update System 2014-07-06 19:28:11 UTC
os-prober-1.58-8.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/os-prober-1.58-8.fc19

Comment 6 Fedora Update System 2014-07-09 02:27:05 UTC
os-prober-1.58-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-07-17 04:29:02 UTC
os-prober-1.58-8.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.