GRUB shouldn't be installed if found on CentOS/RHEL

Bug #1895067 reported by Lee Trager
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Lee Trager
curtin
Fix Released
Undecided
Lee Trager

Bug Description

CentOS/RHEL 7+ ship the signed version of grub in the grub2-efi-x64. Its installed directly to /boot/efi/EFI/centos/grubx64.efi. Running grub2-install on CentOS builds a new version of grub using the grub2-efi-x64-modules package. This version is not signed which will break UEFI secure boot. If the grub2-efi-x64-modules package is missing this will cause grub2-install to fail which causes the deployment to fail.

It seems Curtin's logic is current when writing NVRAM however when NVRAM is disabled this bug occurs. This bug was triggered due to LP:1895044.

Related branches

Revision history for this message
Lee Trager (ltrager) wrote :
Dan Watkins (oddbloke)
Changed in curtin:
status: New → In Progress
assignee: nobody → Lee Trager (ltrager)
Lee Trager (ltrager)
Changed in maas:
assignee: nobody → Lee Trager (ltrager)
milestone: none → 2.9.0rc4
importance: Undecided → High
status: New → In Progress
Lee Trager (ltrager)
Changed in maas:
milestone: 2.9.0rc4 → none
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

This bug is fixed with commit d41a5676 to curtin on branch master.
To view that commit see the following URL:
https://git.launchpad.net/curtin/commit/?id=d41a5676

Changed in curtin:
status: In Progress → Fix Committed
Lee Trager (ltrager)
Changed in maas:
milestone: none → 2.9.x
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Fixed in curtin version 21.1.

This bug is believed to be fixed in curtin in version 21.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in curtin:
status: Fix Committed → Fix Released
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.