Bug 2247926 - grub2 fails to detect XFS filesystems created with xfsprogs 6.5.0 ("unknown filesystem" error during Server install)
Summary: grub2 fails to detect XFS filesystems created with xfsprogs 6.5.0 ("unknown f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: rawhide
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Nicolas Frayer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: BetaBlocker, F40BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2023-11-04 17:19 UTC by Adam Williamson
Modified: 2024-04-08 16:07 UTC (History)
7 users (show)

Fixed In Version: grub2-2.06-110.fc39 grub2-2.06-108.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-07 02:08:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2023-11-04 17:19:00 UTC
Current grub2 cannot detect XFS filesystems created with xfsprogs 6.5.0. This breaks all Server installs in Rawhide currently (as xfsprogs 6.5.0 went into Rawhide today, and Server uses xfs by default).

Debian ran into this last week and have identified the necessary fixes:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054644#59
https://lore.kernel.org/grub-devel/20231026095339.31802-1-ailiop@suse.com/
https://lore.kernel.org/grub-devel/20231018030347.36174-1-nuxi@vault24.org/

we need those backported to Fedora's grub. I can't do this myself as a) I'm not on the SB signing list and b) working on the grub2 package is complicated and I'd rather a maintainer does it.

Installs fail like this:

INFO:anaconda.modules.payloads.payload.dnf.transaction_progress:Configuring (running scriptlet for): grub2-common-1:2.06-104.fc40.noarch 1697021632 d2621df494be59cac175e13947c9313cfc87c8369e5c7ac66297a76711c12a31
INFO:dnf.rpm:Generating grub configuration file ...
/usr/sbin/grub2-probe: error: ../grub-core/kern/fs.c:121:unknown filesystem.
warning: %posttrans(grub2-common-1:2.06-104.fc40.noarch) scriptlet failed, exit status 1

ERROR:dnf.rpm:Error in POSTTRANS scriptlet in rpm package grub2-common
ERROR:anaconda.modules.payloads.payload.dnf.transaction_progress:Error in POSTTRANS scriptlet in rpm package grub2-common

Comment 1 Adam Williamson 2023-11-04 17:19:53 UTC
Obvious Beta blocker as it prevents Server installs working.

Comment 2 Adam Williamson 2023-11-04 17:23:05 UTC
requested untag of xfsprogs for now: https://pagure.io/releng/issue/11763

Comment 3 Marta Lewandowska 2023-11-06 17:28:42 UTC
Hi Adam,
Nicolas did a scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=108657383 , including all the xfs patches that we weren't carrying from upstream. I tested that it fixes the issue on x86 UEFI and aarch. Nicolas would like to wait on doing a production build until the last patch (fs/xfs: add large extent counters incompat feature support) lands in the upstream repo, but that should be soon.

Comment 4 Adam Williamson 2023-11-06 18:14:56 UTC
Sure, that sounds fine. For now xfsprogs is untagged, we will only retag it once a grub2 fix is in. Only problem would be if somebody did a new xfsprogs 6.5.0 build.

Comment 5 Adam Williamson 2023-12-02 00:48:50 UTC
I see there've been two builds of grub2 recently, but not sure if either included fixes for this. Can we get an update? thanks!

Comment 6 Nicolas Frayer 2023-12-04 16:03:46 UTC
I've just made a rawhide build with the patches for xfs, the update should be ready soon.

Comment 7 Fedora Update System 2023-12-04 16:28:50 UTC
FEDORA-2023-e01748cd0e has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e01748cd0e

Comment 8 Adam Williamson 2023-12-04 16:35:34 UTC
https://bodhi.fedoraproject.org/updates/FEDORA-2023-e69a356cae is the Rawhide update, when that goes stable I guess we can try xfsprogs 6.5.0 again (or whatever version it's reached in the mean time).

Comment 9 Fedora Update System 2023-12-04 16:47:45 UTC
FEDORA-2023-cd56f4e871 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cd56f4e871

Comment 10 Fedora Update System 2023-12-05 03:13:32 UTC
FEDORA-2023-cd56f4e871 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-cd56f4e871`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cd56f4e871

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-12-05 03:19:25 UTC
FEDORA-2023-e01748cd0e has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e01748cd0e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e01748cd0e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Adam Williamson 2023-12-05 22:19:40 UTC
Retag request for xfsprogs: https://pagure.io/releng/issue/11763#comment-887170

Comment 13 Fedora Update System 2023-12-07 02:08:34 UTC
FEDORA-2023-e01748cd0e has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-12-10 02:09:35 UTC
FEDORA-2023-cd56f4e871 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.