]> git.ipfire.org Git - thirdparty/systemd.git/commit
hibernate-resume: fix resume device timeout
authorJonathan Rouleau <jonathan@rouleau.io>
Thu, 6 Jun 2019 00:31:14 +0000 (18:31 -0600)
committerJonathan Rouleau <jonathan@rouleau.io>
Thu, 6 Jun 2019 00:31:14 +0000 (18:31 -0600)
commit70e843fe92fba872f4f45b48504bb590407211c1
tree24bd5f5612df55f03b12dbcca3406ad550f60e1b
parentc0d11245d2bdcf2a4333c3d49c973d83dfbe3791
hibernate-resume: fix resume device timeout

Fixes #7242

Sets the systemd device timeout for the resume device to the same as
the root device. This prevents systemd-hibernate-resume@.service from
silently timing out and booting into a fresh session instead of the
saved hibernation state when the user is using luks, has set
rootflags=x-systemd.device-timeout=X to longer than the default timeout,
and the luks password is entered after the default timeout.
src/hibernate-resume/hibernate-resume-generator.c