Replies: 2 comments 4 replies
-
It's possible - via installing and running If MokManager is missing, then the system ends up with a boot failure that can't be cleared up by simply rebooting; on reboot, shim will load its EFI variable again, find the same request to enroll a new key, and fail to load MokManager. Once the system was in this state, I couldn't think of a way to un-brick it again. I felt this was too harsh a penalty to pay for experimenting with |
Beta Was this translation helpful? Give feedback.
-
In the abstract, I'd prefer a patch to disable all MokManager interactions in shim, though it would depend on how invasive or tricky it ended up being. Even though it works, I don't think the MokManager support is very useful in the contexts where Bottlerocket is likely to be deployed, so if it could go away painlessly that would be best. |
Beta Was this translation helpful? Give feedback.
-
From what I understand, in a GPOS context
mmx64.efi
is useful in enrolling machine owner keys in order to load custom kernels along side vendor provided kernels.I was wondering if there was some reason to build, sign and install
mmx64.efi
in Bottlerocket?In Bottlerocket, the shim
bootx64.efi
would loadgrubx64.efi
which would then load the kernel viagrub.cfg
using GPT prio.Since Bottlerocket is an SPOS, perhaps there is no need to fallback to MokManager when
bootx64.efi
is unable to loadgrubx64.efi
.Rather than maintaining a patch to prevent
init_grub
from loading MokManager, we could perhaps simply not packagemmx64.efi
, and just let secure boot fail if evergrubx64.efi
gets tampered with.Please let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions