Regression in backup-and-restore patch.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* A regression was identified in the backup & restore patch on some architectures, which results in garbage filenames to be created in /boot/grub.
The issue is reported on linux-ext4 mailing list https:/
[Test Case]
* Execute grub-install --target pc-i386 on i386 machine against a nonexistent drive. Such that, backup & restore is triggered.
* Observe that the restored modules names in /boot/grub do not have garbage file endings.
[Where problems could occur]
* The generated garbage file endings will remain on disk across future upgrade and will need to be cleaned up manually. I am pondering if I can clean them up somehow automatically. However the scope of the affected machines should be very small and limited to i386.
[Other Info]
* Reported on linux-ext4 mailing list & debugged by / patch provided by colin watson.
This bug was fixed in the package grub2 - 2.04-1ubuntu37
---------------
grub2 (2.04-1ubuntu37) hirsute; urgency=medium
* debian/ patches/ grub-install- backup- and-restore. patch: Fix-up the patch service: port init.d script to systemd unit. Add warning dh_autoreconf_ clean. fix-reproducibl e-squashfs- test.patch: fix squashfs-test with f34-make- exit-take- a-return- code.patch, f34-dont- use-int- for-efi- status. patch: allow grub to exit f34-tcp- add-window- scaling- support. patch: speed up netboot f34-support- non-ethernet. patch, fixup-rhboot- f34-support- non-ethernet. patch, fixup-rhboot- f34-support- non-ethernet- 2.patch: f34-make- pmtimer- tsc-calibration -fast.patch:
to correctly initialyze the names of the modules to restore. LP:
#1907085
* 10_linux: emit messages when initrdless boot is configured, attempted
and fails triggering fallback. LP: #1901553
* grub-common.
message, when initrdless boot fails triggering fallback. LP: #1901553
* debian/rules: undo po/ directory patching in
override_
* minilzo: built using the distribution's minilzo
* ubuntu-
new squashfs-tools in hirsute.
* rhboot-
rhboot-
non-zero under EFI, this should allow falling back to the next
BootOrder BootEntry.
* rhboot-
transfer speed.
* rhboot-
ubuntu-
ubuntu-
add support for link layer addresses of up to 32-bytes.
* rhboot-
speed up calibration time, especially when booting VMs.
-- Dimitri John Ledkov <email address hidden> Sat, 12 Dec 2020 00:50:47 +0000