I suspect this is the same problem as topic 184133, but I don’t understand the fix.
openSuSE 15.6 on HP Envy laptop, used to hibernate OK but since recent updates (including to BIOS) I getLockdown: systemd-hiberna: hibernation is restricted; see man kernel_lockdown.7 followed by PM: hibernation: the secret key is invalid
SecureBoot is enabled as is full LUKS encryption - so any hibernation image is well protected.
It sounds as if I need to create a secret key and enroll in NVRAM, but I can’t work how to do this, any pointers please?
So is this the solution? No, I had no solution… No one gave me any idea until you pinged me. Thanks.
I am to try it later. But now I have another problem.
If I use a swapfile inside the encrypted BTRFS, why is it still considered as unencrypted? I think this has nothing different if I were using LUKS2 LVM and a swap partition inside it I suppose.
Yeah, I removed my SWAP partition now and am using a swapfile.
I am using LVM encrypted swap, set up by YaST at install time (just a small EFI system boot partition on the disc, with the rest as one big LUKS LVM containing swap, root and home partitions). One tool I tried advised that swap was unencrypted, because it is once the tool is running, but this shouldn’t stop hibernation.