Re: Supporting hibernation in Workstation ed., draft 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux