[Bug 1600320] Re: grub-install doesn't install MokManager in UEFI mode
Launchpad Bug Tracker
1600320 at bugs.launchpad.net
Wed Nov 9 14:09:15 UTC 2016
This bug was fixed in the package grub2 - 1.99-21ubuntu3.20
---------------
grub2 (1.99-21ubuntu3.20) precise; urgency=medium
* debian/patches/install_mokmanager.patch: also install MokManager if we
got to install shim; so as to be able to control shim options.
(LP: #1600320)
-- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com> Fri, 08 Jul 2016
14:13:09 -0400
** Changed in: grub2 (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1600320
Title:
grub-install doesn't install MokManager in UEFI mode
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Precise:
Fix Released
Bug description:
[Impact]
Precise users wanting to control Secure Boot behavior, such as disabling shim validation.
This will affect all users of DKMS packages on precise.
[Test case]
1) sudo apt-get install bbswitch-dkms ; follow steps to disable secure boot (may require proposed shim-signed 1.17~...)
2) Reboot
3) Verify that the system boots to MokManager first and prompts the user to disable Secure Boot; then successfully reboots to Ubuntu.
4) sudo modprobe -v bbswitch ; validate that the module loading is attempted and that you either get a succesful result (on systems where bbswitch is useful) or "No such device".
[Regression potential]
Given changing the logic for installing grub files; in the event that the target system detection fails grub-install may attempt to install MokManager to paths that don't exist. This will not break the system.
---
On precise; we don't currently have --target, and thus grub is also missing the logic to install MokManager to /boot/efi/EFI/ubuntu/ for use with shim's toggles and procedures to import signing keys.
Backporting the logic to install MokManager should be fairly
straightforward.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1600320/+subscriptions
More information about the foundations-bugs
mailing list