Bug 2146545

Summary: Latest grub2 build drops unicode.pf2 , which breaks multiple critical image composes
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: grub2Assignee: Javier Martinez Canillas <fmartine>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: bcl, fmartine, lkundrak, pgnet.dev, pjones, rharwood, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: openqa AcceptedBlocker
Fixed In Version: grub2-2.06-67.fc37 grub2-2.06-57.fc36 grub2-2.06-14.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-25 02:39:03 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:
Bug Depends On:    
Bug Blocks: 2083910    

Description Adam Williamson 2022-11-23 17:48:54 UTC
Today's Rawhide failed due to a problem with the latest grub2 build:

https://koji.fedoraproject.org/koji/taskinfo?taskID=94441861

DEBUG util.py:445:  2022-11-23 05:49:21,531: running aarch64.tmpl
DEBUG util.py:445:  running aarch64.tmpl
DEBUG util.py:445:  2022-11-23 05:49:22,673: template command error in aarch64.tmpl:
DEBUG util.py:445:  template command error in aarch64.tmpl:
DEBUG util.py:445:  2022-11-23 05:49:22,673:   install boot/grub2/fonts/unicode.pf2 EFI/BOOT/fonts/
DEBUG util.py:445:    install boot/grub2/fonts/unicode.pf2 EFI/BOOT/fonts/
DEBUG util.py:445:  2022-11-23 05:49:22,675:   OSError: nothing matching /var/tmp/lorax/lorax.4zpqwlwb/installroot/boot/grub2/fonts/unicode.pf2 in /

That's an aarch64 image build, but it also breaks live and installer builds - it breaks most image builds.

The problem is that grub2 decided to stop installing unicode.pf2 to /boot/grub2/fonts as part of https://src.fedoraproject.org/rpms/grub2/c/0ccadff7a2be9fcc858e0a1cb7825beb5d81f8c6?branch=rawhide , but lorax expects it to be there when lorax builds some EFI images (I'm not sure why we have both grub2 and lorax building EFI images, differently):

https://github.com/weldr/lorax/blob/master/share/templates.d/99-generic/efi.tmpl#L20
https://github.com/weldr/lorax/blob/master/share/templates.d/99-generic/live/efi.tmpl#L20

There may be a better long-term solution here (reduce the duplication, have lorax embed the font too?), but to get things working again short-term, I propose just installing the font file again for now: https://src.fedoraproject.org/rpms/grub2/pull-request/23 .

This is an automatic F38 Beta blocker: "Bugs which entirely prevent the composition of one or more of the release-blocking images required to be built for a currently-pending (pre-)release"

Comment 1 Fedora Update System 2022-11-23 22:02:07 UTC
FEDORA-2022-04d670e731 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-04d670e731

Comment 2 Fedora Update System 2022-11-23 22:02:32 UTC
FEDORA-2022-f86e203baf has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f86e203baf

Comment 3 Fedora Update System 2022-11-23 22:02:50 UTC
FEDORA-2022-7ce9378e90 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7ce9378e90

Comment 4 Fedora Update System 2022-11-24 02:35:33 UTC
FEDORA-2022-04d670e731 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-04d670e731`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-04d670e731

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

Comment 5 Fedora Update System 2022-11-24 02:56:21 UTC
FEDORA-2022-f86e203baf has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f86e203baf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f86e203baf

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

Comment 6 Fedora Update System 2022-11-24 03:00:56 UTC
FEDORA-2022-7ce9378e90 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-7ce9378e90`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7ce9378e90

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

Comment 7 Fedora Update System 2022-11-25 02:39:03 UTC
FEDORA-2022-04d670e731 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-11-27 01:35:35 UTC
FEDORA-2022-f86e203baf has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-12-01 01:38:44 UTC
FEDORA-2022-7ce9378e90 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.