Systemd | Hibernation fails after upgrading from 253.7 to 254 when failing to parse the resume_offset setting

After upgrading from systemd 253.7 to 254 I noticed hibernation stopped working and seeing the following eror in the system journals:

Aug 01 17:23:42 mani systemd-hibernate-resume-generator[100]: Failed to parse resume_offset=36151296..: Invalid argument
Aug 01 17:23:42 mani systemd-hibernate-resume-generator[100]: Failed to parse kernel command line, ignoring: Invalid argument

I confirmed hibernation was failing from terminal:

❯ systemctl hibernate
Call to Hibernate failed: Not enough swap space for hibernation

Note that my swap\hibernation file is 7.5 GB where my physical memory is 16 GB.

In order to get Hibernation to work again I downgraded to systemd build 253.7 (which was previously installed.

Defect:

Looks like the resume_offset= is now being parsed by systemd-hibernate-resume-generator. So the “…” in mine is now considered invalid.

So not a bug but a feature.

1 Like