Suspend-then-hibernate not working since upgrade (december-2022)

Hi @Nachordez :wave:!

I was/am facing some of your problems with my system. I “solved” the one you are referring to about suspend-then-hibernate but the other remains. So I will try to address everything in the most straightforward way possible while not hijacking this thread :sweat_smile:.


December update and system-then-hibernate issue

This issue turns out to be a systemd one.

TL;DR: You have to downgrade systemd and relative packages to v251.*

Identify the packages that have been updated

$ cat /var/log/pacman.log | grep '2022-12-24' | grep -i 'systemd'

...
[2022-12-24T16:59:40+0100] [ALPM] upgraded systemd-libs (251.8-1 -> 252.4-2)
[2022-12-24T16:59:40+0100] [ALPM] upgraded systemd (251.8-1 -> 252.4-2)
[2022-12-24T16:59:46+0100] [ALPM] upgraded lib32-systemd (251.8-1 -> 252.4-1)
[2022-12-24T16:59:51+0100] [ALPM] upgraded systemd-sysvcompat (251.8-1 -> 252.4-2)
...

Then downgrade these packages to the previous version:

sudo DOWNGRADE_FROM_ALA=1 downgrade \
  systemd systemd-libs \
  lib32-systemd systemd-sysvcompat 

Details:

v252, part of the 24th December update (for Manjaro Stable), has changed the behavior of the HibernateDelaySec option … It is quite a debate on systemd GitHub repo. A new option should be introduced in v253 to “handle” it properly.

Ref:

4 Likes