hibernate-resume-generator: wait "infinitely" for the resume device
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 Dec 2019 16:04:26 +0000 (17:04 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 Dec 2019 16:20:19 +0000 (17:20 +0100)
commitff757c9d294153a26a9dd2d9817d1985656f3002
tree489a31f70925528f37c8a57309ce7a29e4ecf899
parent7cecc563163f539c497ecdf5ab00729fcd8c97c1
hibernate-resume-generator: wait "infinitely" for the resume device

This makes changes similar to the parent commit, but for hibernate-resume-generator.
If resume= is specified on the kernel command line, we'll set JobRunningTimeoutSec=0
for the device. This matches what we do for the root device.

In practice, other timeouts will take effect. For example dracut tries (and
fails :[ ) to start dracut-emergency.service after some time.

Fixes #7242, https://bugzilla.redhat.com/show_bug.cgi?id=1705522.
src/hibernate-resume/hibernate-resume-generator.c