This issue is caused by the Dell machines have already embedded the
MokSBStatesRT variable with EFI_VARIABLE_NON_VOLATILE attribute, and the
new shim-signed 1.21.4 include the patch which will mirror the
MokSBStatesRT when MokSBState exists, see the
https://github.com/rhinstaller/shim/commit/8f1bd605d05077a76502de5510cc937c4f4c62dd,
and it causes the setvariable MokSBStatesRT failed because it has
already existed with different attribute.

Attached the patch which can be used to solve this issue by checking the
MokSBStateRT existence and deleting it before mirroring it.

This patch had been sent to upstream and wait for feedback.

** Patch added: "0001-shim-fix-the-mirroring-MokSBState-fail.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644806/+attachment/4784570/+files/0001-shim-fix-the-mirroring-MokSBState-fail.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644806

Title:
  Proposed shim package will cause system complain "Failed to set
  MokSBStateRT: (2) Invalid Parameter"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644806/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to