“lockdown” is output in the string – therefore the lockdown mode is being enforced …
[HR][/HR]Bottom line:
The systemd Journal doesn’t tell lies – when “kernel: Kernel is locked down from EFI Secure Boot mode” appears in the system Journal, guess what:
[LIST]
If the systemd Journal is not indicating that, the Kernel is locked down, guess what – it ain’t locked down …
Despite that fact that, it could be locked down if, and only if, the EFI prerequisites were being met.
‘/sys/kernel/security/lsm’ is only indicating that, LSM has been correctly initialised …
There’s no need for you to force anything – it seems that, your system doesn’t support a locked down Kernel …
[HR][/HR] You need to execute “lsblk --fs” to work out which device has the swap partition on it.
Then you need to execute “fdisk -l /dev/sd??” on the swap device to see how large the swap partition is.
Alternatively, “swapon --show” and “cat /proc/swaps” will in addition indicate if swapping is enabled and, how much swap space is being used.
“inxi --memory” indicates how much physical memory is present on the machine – if it’s being executed by the user “root” …
If the size of the swap partition is less than the amount of physical memory on the machine, you can not resume from hibernation …
After some experiments:
In the UEFI, only - Opensuse-secureboot works with or without Secure Boot: - Enabled. In both cases hibernation fail to wakeup properly.
It looks like I can’t get secure-boot enable, I don’t know why.
As I don’t know what to do now, I’ll leave as it is and never use hibernation. I hope there will be announcement in case this issue is fixed.
You originally indicated that, “free” is reporting that your system has 8 GiB memory and, 8 GiB swap allocation on disk.
But, “free” is only reporting the amount of RAM available for system use, which isn’t the same as the amount of physical memory on the system.
“inxi -a -m” – when executed by the user “root” – also reports the amount of physical memory on the system.
Linux uses some of the physical memory to cache the Kernel – which means that, the amount of RAM being reported by “free”, is often less than the amount of memory which will be written to the Swap space when the system hibernates …