Article 5BKPP [SOLVED] current - elogind - hibernate does not work

[SOLVED] current - elogind - hibernate does not work

by
Poprocks
from LinuxQuestions.org on (#5BKPP)
I cannot get hibernate to work with elogind and likely by extension, kde5.

I see the following error in /var/log/syslog:

Code:elogind-daemon[1397]: Failed to prepare for hibernation: No such file or directoryI think it's likely a function of elogind not having whatever scripts or helper executables it requires to make hibernation work.

Code:echo disk >/sys/power/statedoes work, so it's not an issue with my machine not being able to hibernate, per se.

EDIT: I've grepped through the elogind source code a bit, and I now have a theory as to why this is not working for me. will report back shortly.

EDIT 2:: Yes my theory was correct. I was running an ancient kernel - 4.14.x - which was too old to have /sys/power/resume_offset present, which elogind requires in order for hibernate to work, at least when using a swapfile as opposed to a swap partition. I upgraded to 5.4.x, and now /sys/power/resume_offset is present, and hibernation under elogind working. Closing as SOLVED. Will keep this thread here in case as opposed to deleting in case anyone else runs into the same issue.latest?d=yIl2AUoC8zA latest?i=cUyqCVRm_FY:JgDBFAWcGns:F7zBnMy latest?i=cUyqCVRm_FY:JgDBFAWcGns:V_sGLiP latest?d=qj6IDK7rITs latest?i=cUyqCVRm_FY:JgDBFAWcGns:gIN9vFwcUyqCVRm_FY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments