You are not logged in.

#1 2023-11-19 21:11:26

pants
Member
From: Rome, Italy
Registered: 2010-05-25
Posts: 44
Website

[systemd 255rc2] hibernation with dracut

With the coming version 255, systemd will reorganize how it resumes from hibernation, and a new service file systemd-hibernate-resume.service must be included in the initramfs. As it stands, dracut does not include this file (but has a pending patch), and upon installing the release candidate for systemd in core-testing hibernation stopped working for me. For now the situation can be remedied by explicitly including this service file, e.g., with

% cat /etc/dracut.conf.d/resume.conf 
add_dracutmodules+=" resume "
install_items+=" /usr/lib/systemd/system/systemd-hibernate-resume.service "

Presumably this will resolve itself with dracut 060. Perhaps a similar problem exists with mkinitcpio, but I don't use it.

Offline

#2 2023-12-11 17:22:58

Kiss-my-axe
Member
Registered: 2023-09-06
Posts: 1

Re: [systemd 255rc2] hibernation with dracut

Thankyou man big_smile I had been kinda frustrated with this issue for a few days and had just narrowed down the issue to systemd. Had added it to ignorepkg until I figured out what was happening when a kind forum member of my community posted your link and saved it. smile Again thankyou very much!!

Last edited by Kiss-my-axe (2023-12-11 17:24:02)

Offline

#3 2025-07-27 14:15:51

armujahid
Member
Registered: 2025-07-27
Posts: 1

Re: [systemd 255rc2] hibernation with dracut

@pants thanks for your solution. it's still relevant in 2025 . I noticed that the linked patch has already been merged but apparently they didn't release anything since Dec 24, 2022 (last release = dracut-059 on github).

Also note that `dracut --version` returns `dracut 106` on my system. Weird.

Update: Noticed that upstream of https://aur.archlinux.org/packages/dracut-git has been changed and I can see the change here https://github.com/dracut-ng/dracut-ng/ … tup.sh#L73
So I am not sure why the issue still persists. I have created an issue https://github.com/dracut-ng/dracut-ng/issues/1472 for tracking.

Last edited by armujahid (2025-07-27 14:31:47)

Offline

#4 2025-07-27 14:49:34

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,013
Website

Re: [systemd 255rc2] hibernation with dracut

Please don't necrobump. Also note that EndeavourOS is not supported here.

https://wiki.archlinux.org/title/Genera … bumping%22
https://bbs.archlinux.org/misc.php?action=rules

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB