https://bugzilla.suse.com/show_bug.cgi?id=1187381
https://bugzilla.suse.com/show_bug.cgi?id=1187381#c2
--- Comment #2 from Thomas Blume ---
Sorry, just saw that bug#1184470 is an internal one.
Hence copying comment#60 from there:
###############################################################################
I was discussing the topic with dracut upstream (Daniel).
There are some distros (e.g. Ubuntu) that do resume without the resume boot
parameter.
However, it seems they removed/disabled the following upstream patch:
-->
commit 733c71ce9e2d161c9e04772aeb1c5fb38e3fcb3a
Author: Harald Hoyer
Date: Wed Dec 17 12:08:37 2014 +0100
resume: make use of systemd-hibernate-resume, if existant
In systemd mode, and if systemd-hibernate-resume exists, use it
exclusively.
diff --git a/modules.d/95resume/module-setup.sh
b/modules.d/95resume/module-setup.sh
index dfd43507..7fe6df3a 100755
--- a/modules.d/95resume/module-setup.sh
+++ b/modules.d/95resume/module-setup.sh
@@ -33,6 +33,15 @@ install() {
[[ $_resumeconf ]] && printf "%s\n" "$_resumeconf" >>
"${initdir}/etc/cmdline.d/95resume.conf"
fi
+ # if systemd is included and has the hibernate-resume tool, use it and
nothing else
+ if dracut_module_included "systemd" && [[ -x
$systemdutildir/systemd-hibernate-resume ]]; then
+ inst_multiple -o \
+
$systemdutildir/system-generators/systemd-hibernate-resume-generator \
+ $systemdsystemunitdir/systemd-hibernate-resume@.service
\
+ $systemdutildir/systemd-hibernate-resume
+ return 0
+ fi
+
# Optional uswsusp support
for _bin in /usr/sbin/resume /usr/lib/suspend/resume
/usr/lib/uswsusp/resume
do
--<
That means on SUSE systemd-hibernate-resume is used exclusively and the dracut
resume module is unused.
--
You are receiving this mail because:
You are on the CC list for the bug.