Bug 20359

Summary: os-prober does not recognize btrfs installations
Product: Mageia Reporter: Ulrich Beckmann <bequimao.de>
Component: RPM PackagesAssignee: Neal Gompa <ngompa13>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: marja11, ngompa13, zen25000
Version: CauldronKeywords: UPSTREAM
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1024196
Whiteboard:
Source RPM: os-prober-1.74-2.mga6 CVE:
Status comment:
Attachments: cli outpul of grub2-mkconfig
same system, 2nd Mageia 6 installation to compare
same system, test with openSUSE os-prober-os-prober-1.74-1.1.x86_64

Description Ulrich Beckmann 2017-02-26 19:50:27 CET
Description of problem:
os-prober fails to recognize my btrfs installations. The system is UEFI/GPT on real hardware. There are 4 installations in logical Volumes of LVM and one in a normal partition /dev/sda8. All these installations share one issue: the default subvolume differ from the root subvolume (subvolid=5), which is the normal setup of openSUSE.

The message during grub2-mkconfig
rmdir: failed to remove '/var/lib/os-prober/mount': No such file or directory
is new and persistent.


Version-Release number of selected component (if applicable):
os-prober-1.74-2.mga6

Ulrich
Comment 1 Ulrich Beckmann 2017-02-26 19:52:50 CET
Created attachment 8991 [details]
cli outpul of grub2-mkconfig
Comment 2 Ulrich Beckmann 2017-02-26 19:56:43 CET
Created attachment 8992 [details]
same system, 2nd Mageia 6 installation to compare
Neal Gompa 2017-02-26 20:54:40 CET

CC: (none) => ngompa13
Summary: Os-prober does not recognize btrfs installations => os-prober does not recognize btrfs installations

Comment 3 Marja Van Waes 2017-02-27 07:47:54 CET
@ Neal

Even if this package had no maintainer, assigning to you because you last touched it. I hope that's OK with you :-)

Marja

CC: (none) => marja11, zen25000
Assignee: bugsquad => ngompa13

Comment 4 Ulrich Beckmann 2017-02-27 19:04:29 CET
Created attachment 8998 [details]
same system, test with openSUSE os-prober-os-prober-1.74-1.1.x86_64

Luckily I can test os-prober-1.74-1.1.x86_64 in the same system with openSUSE. Version is Leap 42.2 and I activated the repo tumbleweed-OSS.

You see the same issue. My other btrfs installations including Mageia 6 were not found.
Comment 5 Marja Van Waes 2017-02-27 20:50:43 CET
(In reply to Ulrich Beckmann from comment #4)
> Created attachment 8998 [details]
> same system, test with openSUSE os-prober-os-prober-1.74-1.1.x86_64
> 
> Luckily I can test os-prober-1.74-1.1.x86_64 in the same system with
> openSUSE. Version is Leap 42.2 and I activated the repo tumbleweed-OSS.
> 
> You see the same issue. My other btrfs installations including Mageia 6 were
> not found.


Thanks. So seems an upstream issue. Can someone please look for, or file, a matching bug report upstream, and then add the link to it in the See Also: field?

Keywords: (none) => UPSTREAM

Comment 6 Neal Gompa 2017-02-27 20:52:35 CET
Mentioned in boo#1024196 (link added to See Also).

See Also: (none) => https://bugzilla.opensuse.org/show_bug.cgi?id=1024196

Comment 7 Barry Jackson 2017-03-01 13:38:43 CET
@Ulrich:
Neal has pushed an update to Cauldron with new patches from SuSE.
Please test.
They fix this for me in a VM :)
Comment 8 Ulrich Beckmann 2017-03-02 08:59:41 CET
Tested and works fine.
Thanks, Neal and Barry.

Ulrich

Status: NEW => RESOLVED
Resolution: (none) => FIXED