Bug 30176

Summary: dracut fails to add resume module when hostonly="yes"
Product: Mageia Reporter: Elmar Stellnberger <estellnb>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: major    
Priority: Normal CC: tmb
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: dracut-051-4.mga8.src.rpm CVE:
Status comment:

Description Elmar Stellnberger 2022-03-16 11:55:29 CET
If you have hostonly="yes" in your /etc/dracut.conf.d/50-mageia.conf you need to add the following line manually in order to make suspend to disk/ hibernation work:
add_dracutmodules=" resume "

  Otherwise it will hibernate but then lose the full machine state at boot by booting as if the machine had not ever been hibernated.
  For a generic initrd (hostonly="no") it works out of the box, but this was not the default when installing Mageia 8. The resume module should be included automatically, no matter what the configuration of hostonly is.
Comment 1 Elmar Stellnberger 2022-03-16 12:35:36 CET
list of related issues: https://bugs.mageia.org/show_bug.cgi?id=30180
Comment 2 Lewis Smith 2022-03-16 20:53:28 CET
Thank you for the information.

Assigning this to tv who looks *the* packager for dracut. CC'ing tmb.

Assignee: bugsquad => thierry.vignaud
Source RPM: (none) => dracut-051-4.mga8.src.rpm
CC: (none) => tmb