Bug 1842279
Summary: | Fresh Fedora 32 installation can't hibernate (when using LUKS + LVM) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | davidgf <david> |
Component: | dracut | Assignee: | dracut-maint-list |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | dracut-maint-list, dtardon, jonathan, norbert.jurkeit, taocrismon, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-13 08:55:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
davidgf
2020-05-31 14:30:46 UTC
I also wondered why hibernate fails with my F32 installation and got it working thanks to above instructions (with appropriate major:minor device number of course). With F31 hibernate worked out of the box for me, probably because it was shipped initially with an earlier dracut version which used a different check in module-setup.sh Jeez. I got this as well, please fix it. I think this bug should get more visibility since it is clearly a problem. I'm not confident enough to fix it by myself but I'll try to escalate it to the right person. I filed a bug to the relevant component, but seems it is not getting any traction, can you please chime in if this affected you? Link: https://github.com/dracutdevs/dracut/issues/924 Thanks! Issue persists with Fedora33. IMHO hibernation is still a useful feature, especially for laptops on battery, and it shouldn't be too difficult to get it working. According to my experience systemctl as well as desktop environment (Xfce used here) offer the hibernate option if and only if Secure Boot is disabled and an appropriate swap device (no zram) is active. It would be reasonable if dracut used the same criteria to decide about inclusion of resume support. Did you install Fedora 33 fresh and still happens? (In reply to davidgf from comment #6) > Did you install Fedora 33 fresh and still happens? Yes, fresh install in blivet mode re-using existing logical volumes. Again I had to set /sys/power/resume to major:minor device number of the swap volume and rebuild the initramfs to make resume work. *** This bug has been marked as a duplicate of bug 1795422 *** |