Bug#1017944: grub-xen-host: 2.06-3 crashes PV guests in early boot

Valentin Kleibel valentin at vrvis.at
Tue Sep 6 14:55:39 BST 2022


found 1017944 grub2/2.06-3~deb11u1
severity 1017944 serious
tags 1017944 patch

Dear Maintainers,

We can confirm that this bug affects all pv and pvh domUs that use pvgrub.
The commit responsible is 20239c28 "Bump debhelper from old 10 to 13." [1]
The relevant change in debhelper came with version v11: "The dh_strip 
and dh_shlibdeps tools no longer uses filename patterns to determine 
which files to process. Instead, they open the file and look for an ELF 
header to determine if a given file is an shared object or an ELF 
executable."
By choosing debhelper 13, this led to pv grub getting stripped.
A simple override to dh_strip mitigates the issue.

We assume that testing and unstable are affected as well but we do not 
have systems to test this.

Cheers,
Valentin

[1] 
https://salsa.debian.org/grub-team/grub/-/commit/20239c28e1e9ca3eba993e7702f5cb4da81dcf95
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_strip_fix.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20220906/3978c692/attachment.bin>


More information about the Pkg-grub-devel mailing list