Bug 2372973
| Summary: | GRUB is unable to use bootloader header space for grubenv on btrfs (patch available) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Neal Gompa <ngompa13> |
| Component: | grub2 | Assignee: | Nicolas Frayer <nfrayer> |
| Status: | POST --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | agurenko, bmr, btrfs-sig, bugzilla, davdunc, davide, hadichokr, lkundrak, lsandova, lx, michel, mlewando, nfrayer, pjones, samuel-rhbugs, zilexa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Neal Gompa
2025-06-16 07:16:14 UTC
Hi Neal, I can't find this patch upstream... could you please encourage SUSE to send it upstream first? thanks! I will try. Michael Chang notified me that he'll be able to look into this within the first two weeks of July. Great. Thank you for that :) Any Updates from SUSE on upstreaming their patch? As promised, patch was sent upstream last week: https://lists.gnu.org/archive/html/grub-devel/2025-07/msg00129.html There's now a v2 series that needs people to review it: https://lists.gnu.org/archive/html/grub-devel/2025-09/msg00127.html The patch series has been revised to version 3: https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00009.html The patch series has been revised to version 4: https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00172.html Thank you for being patient, Neal. I know this is taking a long time, but we've heard from upstream that this patch set is almost there... We hope to be able to get it into fedora for you within the next week. The patch series has been revised to version 5: https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00261.html I believe this is the version that will land upstream. The patch series has been revised to version 6: https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00292.html v6 has been accepted upstream https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00292.html And this commit is also needed for it to work https://cgit.git.savannah.gnu.org/cgit/grub.git/commit/?id=4f6c4609174d92c8b881bc5adb7fe971dd5cee0b (In reply to Marta Lewandowska from comment #13) > v6 has been accepted upstream > https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00292.html Actual link of acceptance: https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00315.html Neal,
I have appended all related patches [1,2] into the dist-git spec file but I would like some testing before merge.
Can you please test using the scratch build from pull-request [3]?
Let me know if it works or some other pac
[1] Add support for external environment block on Btrfs
https://lists.gnu.org/archive/html/grub-devel/2025-10/msg00292.html
[2] kern/fs: Honour file->read_hook() in grub_fs_blocklist_read()
https://cgit.git.savannah.gnu.org/cgit/grub.git/commit/?id=4f6c4609174d92c8b881bc5adb7fe971dd5cee0b
[3] https://src.fedoraproject.org/rpms/grub2/pull-request/196
Would be great to see this patch make its way to Grub2. (In reply to zilexa from comment #17) > Would be great to see this patch make its way to Grub2. You mean grub2 upstream? Anyway, it is already on fedora (and I believe upstream), see [3] above. |