Bug 826754

Summary: os-prober incorreclty recognizes unknown Linux distribution on /usr partitions after usrmove
Product: [Fedora] Fedora Reporter: Peter Backes <rtc>
Component: os-proberAssignee: Hedayat Vatankhah <hedayatv>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 17CC: hedayatv
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-09 00:03:00 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:
Embargoed:

Description Peter Backes 2012-05-30 22:18:07 UTC
Description of problem:
in /usr/libexec/os-probes/mounted/90linux-distro, os-prober checks if  /lib*/ld*.so* exists. If it does, it assumes the partition contains a Linux distribution. However, after usrmove, ld.so now resides in /usr/lib, thus from the point of view of the /usr partition, it's in /lib. Hence, os-prober will incorrectly report that an unknown Linux distribution has been found on the /usr partition.

Version-Release number of selected component (if applicable):
os-prober-1.53-1.fc17.i686

How reproducible:
always

Steps to Reproduce:
1. grub2-mkconfig
  
Actual results:
"Found unknown Linux distribution on /dev/sda5"

Expected results:
/etc/grub.d/30_os-prober detects no unknown distros if there aren't any

Additional info:
How about the converse: Since ld.so is now in /usr/lib, not /lib, can osprober still detect usrmove linux distributions if installed with split-off /usr?

Comment 1 Hedayat Vatankhah 2012-06-02 15:59:05 UTC
Would you please check the following package to see if the problem is solved?
http://koji.fedoraproject.org/koji/taskinfo?taskID=4121613

Comment 2 Peter Backes 2012-06-02 16:31:40 UTC
yes, problem is solved.

Comment 3 Fedora Update System 2012-06-02 16:54:06 UTC
os-prober-1.53-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/os-prober-1.53-3.fc16

Comment 4 Fedora Update System 2012-06-02 16:55:33 UTC
os-prober-1.53-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/os-prober-1.53-3.fc17

Comment 5 Fedora Update System 2012-06-02 23:56:01 UTC
Package os-prober-1.53-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing os-prober-1.53-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8788/os-prober-1.53-3.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-06-09 00:03:00 UTC
os-prober-1.53-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-06-10 23:59:54 UTC
os-prober-1.53-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.