grub-ieee1275 installs to an arbitrary PReP partition when more than one is available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When the grub-ieee1275 package is installed or upgraded the grub-ieee1275.
We hit this on a test system where the partition layout is the one in the attached file. As you can see there are two PReP partitions:
Device Start End Sectors Size Type
/dev/vda4 10487808 10504191 16384 8M PowerPC PReP boot
Device Start End Sectors Size Type
/dev/vde2 2099200 2115583 16384 8M PowerPC PReP boot
In this case prep-bootdev chose /dev/vde2 to install grub to. This was unexpected.
I don't have a sensible alternative to propose here, as we want to keep grub guessing what is reasonable to guess and we don't want to break existing systems or workflows. Still the current behavior is less than ideal.
Related branches
- Ryan Harper (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 211 lines (+103/-6)5 files modifiedtests/vmtests/__init__.py (+84/-2)
tests/vmtests/releases.py (+1/-0)
tests/vmtests/test_basic.py (+15/-3)
tests/vmtests/test_uefi_basic.py (+1/-1)
tests/vmtests/test_zfsroot.py (+2/-0)
information type: | Public → Public Security |
information type: | Public Security → Public |
Partition layout with two PReP partitions.