Missing grub-common dependency on sbsigntool

Bug #1793166 reported by Mike Allen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Triaged
High
Mathieu Trudel-Lapierre

Bug Description

The grub-common package, starting (so far as I can tell) with bionic-updates, introduced a script named /usr/share/grub/grub-check-signatures.

This script is run, for example, during the post-installation for the grub-efi-amd64 (or maybe, grub-efi-amd64-signed) package in order to verify the signature of an installed kernel. Unfortunately, grub-check-signatures utilizes a tool called "sbattach", which is available in the "sbsigntool" package. If "sbsigntool" is not installed, then this script fails, resulting in "grub-efi-amd64" failing to believe that signed kernels are signed correctly. This then leads to further problems if UEFI secure boot in enabled in the user's BIOS. (In my experience, the kernel will still load, but "apt" reports errors with kernel package installations, believing them to be unsigned.)

In short, it appears that there is a missing dependency on "sbsigntool" from within the "grub-common" package (or one of its dependencies).

I discovered this problem on Linux Mint 19. Please also refer to this forum thread for further details of the bug symptoms:

https://forums.linuxmint.com/viewtopic.php?f=46&t=277863&p=1528140#p1528140

Relevant other information:

Linux Mint 19, Tara

# apt-cache policy grub-common
grub-common:
  Installed: 2.02-2ubuntu8.4
  Candidate: 2.02-2ubuntu8.4
  Version table:
 *** 2.02-2ubuntu8.4 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.02-2ubuntu8 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

If you need any further information, please let me know...

Mike Allen (mike-allen)
summary: - Missing dependency on sbsigntool
+ Missing grub-common dependency on sbsigntool
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

It's not wrong, because it really should have that dependency since it's using sbsigntool, but you shouldn't be hitting this bug in the first place: shim-signed should always be installed on UEFI systems, and does pull in sbsigntool.

Changed in grub2 (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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