Vitaly Zaitsev via devel wrote on Sat, May 30, 2020:
> On 30.05.2020 11:51, Iñaki Ucar wrote:
> > What are the issues? I have full-disk encryption and
> > suspend-then-hibernate enabled (with secure boot disabled, of course),
> > and it resumes from hibernation without issues.
> 
> Do you have encrypted by LUKS swap partition?
> 
> Fedora cannot resume from encrypted by random passphrase (parameter tmp
> from crypttab) swap partition.

Well, yes, how do you expect that to possibly ever work? You'd need to
somehow tell the initrd to not regenerate a new luks key but instead
enter manually the old random one that you would have meticulously
copied out before going into hibernation.

If your swap is in a luks partition with a static passphrase (and
secureboot is disabled) then hibernate works just fine.
(my laptop wakes up on low power from sleep and switches to hibernate
automatically if it stays on suspend too long, this is quite awesome and
I think off-the-box behaviour for this machine. Wouldn't need that if
the battery wouldn't leak so much when in sleep in the first place,
admitedly, but I haven't had any recent laptop that could stay in sleep
mode for a week unfortunately :/)
-- 
Dominique
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to