Comment 5 for bug 1644806

Revision history for this message
Ivan Hu (ivan.hu) wrote :

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.