2020-05-14 06:37:18 |
Michael Vogt |
bug |
|
|
added bug |
2020-05-14 06:37:18 |
Michael Vogt |
attachment added |
|
Screenshot_from_2020-05-13_17-36-52.png https://bugs.launchpad.net/bugs/1878541/+attachment/5371315/+files/Screenshot_from_2020-05-13_17-36-52.png |
|
2020-05-14 09:50:35 |
Michael Vogt |
summary |
uc20 image fails with 512mb ram |
Grub fails to load kernel from squashfs if mem < 1500mb |
|
2020-05-14 09:51:31 |
Michael Vogt |
description |
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output. |
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output.
This appears to be some sort of regression with grub in 20.04 or with UEFI grub - this used to work in uc18. |
|
2020-05-14 13:21:31 |
Michael Vogt |
bug task added |
|
grub2 (Ubuntu) |
|
2020-05-14 13:21:51 |
Michael Vogt |
tags |
|
rls-gg-incoming |
|
2020-05-14 13:28:56 |
Dimitri John Ledkov |
description |
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output.
This appears to be some sort of regression with grub in 20.04 or with UEFI grub - this used to work in uc18. |
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output.
This appears to be some sort of regression with grub in 20.04 or with UEFI grub - this used to work in uc18.
Note that there is memory < 1500mb |
|
2020-05-14 14:55:25 |
Michael Vogt |
attachment added |
|
Testscript https://bugs.launchpad.net/snapd/+bug/1878541/+attachment/5371585/+files/lp1878541-test.sh |
|
2020-05-15 20:17:37 |
Brian Murray |
tags |
rls-gg-incoming |
rls-gg-incoming uc20 |
|
2020-05-18 09:27:35 |
Łukasz Zemczak |
snapd: importance |
Undecided |
High |
|
2020-05-18 09:29:00 |
Michael Vogt |
grub2 (Ubuntu): importance |
Undecided |
High |
|
2020-05-18 16:31:58 |
Dimitri John Ledkov |
grub2 (Ubuntu): status |
New |
Confirmed |
|
2020-05-20 14:37:55 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Focal |
|
2020-05-20 14:37:55 |
Julian Andres Klode |
bug task added |
|
grub2 (Ubuntu Focal) |
|
2020-05-20 14:37:55 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Groovy |
|
2020-05-20 14:37:55 |
Julian Andres Klode |
bug task added |
|
grub2 (Ubuntu Groovy) |
|
2020-05-20 20:11:13 |
Chris Coulson |
attachment added |
|
dont-verify-loopback-images.patch https://bugs.launchpad.net/snapd/+bug/1878541/+attachment/5374831/+files/dont-verify-loopback-images.patch |
|
2020-05-20 20:11:43 |
Chris Coulson |
bug |
|
|
added subscriber Colin Watson |
2020-05-20 20:22:33 |
Ubuntu Foundations Team Bug Bot |
tags |
rls-gg-incoming uc20 |
patch rls-gg-incoming uc20 |
|
2020-05-21 12:54:45 |
Francis Ginther |
tags |
patch rls-gg-incoming uc20 |
id-5ec540751c801c607c3d8c33 patch rls-gg-incoming uc20 |
|
2020-05-21 14:54:43 |
Brian Murray |
tags |
id-5ec540751c801c607c3d8c33 patch rls-gg-incoming uc20 |
id-5ec540751c801c607c3d8c33 patch uc20 |
|
2020-05-22 11:13:38 |
Julian Andres Klode |
grub2 (Ubuntu Groovy): status |
Confirmed |
Triaged |
|
2020-06-10 15:45:52 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/385358 |
|
2020-06-10 15:46:24 |
Julian Andres Klode |
grub2 (Ubuntu Groovy): status |
Triaged |
In Progress |
|
2020-06-10 18:22:37 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/385521 |
|
2020-06-10 18:55:06 |
Julian Andres Klode |
grub2 (Ubuntu Groovy): status |
In Progress |
Fix Committed |
|
2020-06-15 09:55:10 |
Dimitri John Ledkov |
description |
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output.
This appears to be some sort of regression with grub in 20.04 or with UEFI grub - this used to work in uc18.
Note that there is memory < 1500mb |
[Impact]
* loopback command uses too much ram, resulting in OOM on small machines
[Test Case]
* Download & Copy kernel.snap from amd64 pc image onto ESP partitition
* Boot VM with secureboot, uefi and tpm and drop into grub recovery shell
* observe ram usage of the machine (for example by using virt-manager graphs)
* execute "loopback loop0 /path/to/kernel.snap"
* observe ram usage of the machine again.
* The RAM usage should stay almost constant with the patched grub just like it did in bionic. If it grows by the size of the kernel.snap (~500MB+), it is booting using buggy grub as shipped in focal GA.
[Regression Potential]
* This patch changes UEFI secureboot verifier behaviour for the loopback command. The whole loopback file is no longer read & stored into memory.
This changes the PCR values. However Ubuntu has not yet been using or sealing against that PCR value. Also normally, on every kernel/grub update, the same PCR value is changed. Thus normal resealing procedure after a grub update would accommodate for this change of the PCR value.
The loopback devices as a whole are no longer measured into TPM and cannot be attested. The resurrect such behavior, there is upstream design plan to allow storing hashes of all blocks and validate them with reduced memory requirement. Currently this is deemed out of scope, and of low interest/priority.
[Other Info]
[Original bug report]
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output.
This appears to be some sort of regression with grub in 20.04 or with UEFI grub - this used to work in uc18.
Note that there is memory < 1500mb |
|
2020-06-22 08:00:24 |
Samuele Pedroni |
snapd: status |
New |
In Progress |
|
2020-06-22 11:46:10 |
Julian Andres Klode |
grub2 (Ubuntu Focal): status |
New |
In Progress |
|
2020-07-30 14:14:47 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu/+merge/388381 |
|
2020-08-06 08:17:55 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/388791 |
|
2020-08-12 16:16:07 |
Launchpad Janitor |
grub2 (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2020-08-18 13:55:54 |
Łukasz Zemczak |
grub2 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-08-18 13:55:55 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-08-18 13:55:58 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2020-08-18 13:56:01 |
Łukasz Zemczak |
tags |
id-5ec540751c801c607c3d8c33 patch uc20 |
id-5ec540751c801c607c3d8c33 patch uc20 verification-needed verification-needed-focal |
|
2020-08-27 15:23:59 |
Dimitri John Ledkov |
tags |
id-5ec540751c801c607c3d8c33 patch uc20 verification-needed verification-needed-focal |
id-5ec540751c801c607c3d8c33 patch uc20 verification-done verification-done-focal |
|
2020-08-31 12:55:14 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-08-31 13:05:13 |
Launchpad Janitor |
grub2 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-09-30 10:14:06 |
Michel-Ekimia |
bug |
|
|
added subscriber Michel-Ekimia |
2020-10-14 15:48:17 |
Matthieu Clemenceau |
tags |
id-5ec540751c801c607c3d8c33 patch uc20 verification-done verification-done-focal |
fr-167 id-5ec540751c801c607c3d8c33 patch uc20 verification-done verification-done-focal |
|
2021-02-15 10:33:38 |
Michael Vogt |
snapd: status |
In Progress |
Fix Released |
|
2021-10-08 10:44:12 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu/+merge/409918 |
|