Description of problem:
When Secure Boot is on, /sys/power/disk is disabled.
Thus, hibernate and hybrid-sleep won't work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Turn on Secure Boot
2. systemctl hibernate or systemctl hybrid-sleep
Failed to hibernate system via logind: Sleep verb not supported
Failed to put system into hybrid sleep via logind: Sleep verb not supported
The system hibernates or hybrid sleeps
This is intended behavior, per commit text on one of the patches
"There is currently no way to verify the resume image when returning
from hibernate. This might compromise the signed modules trust model,
so until we can work with signed hibernate images we disable it when the
kernel is locked down."
So what about the case when an OPAL hard disk is encrypted using the system firmware?