https://bugzilla.novell.com/show_bug.cgi?id=790157
https://bugzilla.novell.com/show_bug.cgi?id=790157#c10
--- Comment #10 from Frederic Crozat
I guess pm-utils maintainer should help in migrating the quirks to systemd way of handling stuff (and we should try as much as possible to move those quirks upstream so they become unneeded).
All right, could you point me to some info about that systemd way? Then I can help.
there is no real documentation for this part yet but from http://cgit.freedesktop.org/systemd/systemd/tree/src/sleep/sleep.c , the idea is : - hooks (is every executable in /usr/lib/systemd/system-sleep) are called before suspend / hibernate with "suspend" or "hibernate" or "hybrid-sleep" - if hibernate or hybrid-sleep is asked: platform is written on /sys/power/disk (and on error, shutdown is written there - then "mem" is written on /sys/power/state if suspend, otherwise "disk" is writtent - when the system is resumed, the same hooks are called, with "post" as argument.
Also we have to decide which quirks we need.
How will systemd support hibernating to compressed and encrypted images?
It doesn't (and I don't know if it is planned).
And last but not least, we cannot just leave it broken until all this stuff is done! Even if this is just factory. Frederic, could you please make those systemd services use pm-utils for now?
I don't know if it can be done easily.. Maybe we could just plug pm-utils call into systemd-hibernate.service / systemd-sleep.service (but I would prefer to have the last echo "mem / disk" done by systemd. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.