Bug 995777
Summary: | os-prober fails to detect other Linux systems (again!) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | D. Hugh Redelmeier <hugh> | ||||
Component: | os-prober | Assignee: | Hedayat Vatankhah <hedayatv> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | 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: | 2013-11-23 09:15:37 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: | |||||||
Attachments: |
|
Description
D. Hugh Redelmeier
2013-08-11 01:31:14 UTC
The bug is certainly NOT the debian bug, which is already fixed in os-prober 1.57. Please provide the os-prober output in syslog when Ubuntu partition is NOT‌ mounted. Hedayat: Sorry for jumping to a conclusion. I looked at the debian report and saw that the detect-lib-in-usr.patch in message 15 hadn't been applied to the Fedora 19 code. I guess that wasn't the fix actually adopted by debian (and thus Fedora). In any case, the misbehaviour is real, on my system. But a bit mysterious to reproduce. As explained above, mounting the ubuntu partition allowed os-prober to see it. But then it would continue seeing it after I unmounted. So I tried some more experiments to follow up on your query. I added a new partition and installed a fresh Ubuntu 13.04 to reproduce the initial conditions. And then ran os-prober. Wow: it didn't see either Ubuntu partition. So I'm not clear what's going on. Here's what os-prober says about the two partitions it doesn't like (from /var/log/messages): Aug 12 16:17:07 redcherry-mimosa-com hugh: os-prober: debug: running /usr/libexec/os-probes/50mounted-tests on /dev/sda8 Aug 12 16:17:07 redcherry-mimosa-com kernel: [21007.009653] EXT4-fs (sda8): INFO: recovery required on readonly filesystem Aug 12 16:17:07 redcherry-mimosa-com kernel: [21007.009663] EXT4-fs (sda8): write access unavailable, cannot proceed Aug 12 16:17:07 redcherry-mimosa-com hugh: os-prober: debug: running /usr/libexec/os-probes/50mounted-tests on /dev/sda9 Aug 12 16:17:07 redcherry-mimosa-com kernel: [21007.094037] EXT4-fs (sda9): INFO: recovery required on readonly filesystem Aug 12 16:17:07 redcherry-mimosa-com kernel: [21007.094047] EXT4-fs (sda9): write access unavailable, cannot proceed Why does Fedora think these cleanly-unmounted-by-Ubuntu partitions need recovery? That seems to be the crux of the matter. My best guess why the first Ubuntu again stopped being recognized is that, since the previous (working) os-probe, I had actually booted that Ubuntu. As far as I could tell, neither Ubuntu partition got SELinux labelling applied. So this isn't a reappearance of https://bugzilla.redhat.com/show_bug.cgi?id=882568 Created attachment 785964 [details]
log corresponding the experiments outlined in #2
includes slightly tricky way of grabbing entries added to /var/log/messages
I've just had this happen again: - booted; with fedora's grub2 selected ubuntu 13.04 - in ubuntu 13.04: applied updates, "restarted" as required - in fedora's grub2, new ubuntu kernel is not yet available, so booted to Fedora19 - did a grub2-mkconfig but no ubuntu options appeared in the resulting config file. - did an fsck from F19 on Ubuntu root partition. A few errors were fixed. - grub2-mkconfig NOW creates fine config file Hypothesis: Ubuntu doesn't always do a clean shutdown. So: this isn't a Fedora bug. I agree. The problem is that some kind of recovery is required for partitions. it seems that the recovery CAN be done automatically on mount IF mounted read-write. But, os-prober mounts partitions read-only (it is logical), and so mount cannot proceed. IMHO, mounting partitions read-write is a bad approach, so I'll mark this bug as NOTABUG. Thanks for your help in detecting the cause of the problem. |