From: Janne Heß Date: Wed, 23 Nov 2016 04:19:56 +0000 (+0100) Subject: Document an edge-case with resume and mounting (#4581) X-Git-Tag: v234~805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d9e45e97fb1157d5670d533f55819a59e7ae336;p=platform%2Fupstream%2Fsystemd.git Document an edge-case with resume and mounting (#4581) When trying to read keyfiles from an encrypted partition to unlock the swap, a cyclic dependency is generated because systemd can not mount the filesystem before it has checked if there is a swap to resume from. Closes #3940 --- diff --git a/man/bootup.xml b/man/bootup.xml index 9869963..b92c60f 100644 --- a/man/bootup.xml +++ b/man/bootup.xml @@ -179,6 +179,13 @@ identical to the system manager bootup (see above) until it reaches basic.target. From there, systemd approaches the special target initrd.target. + + Before any file systems are mounted, it must be determined whether + the system will resume from hibernation or proceed with normal boot. + This is accomplished by systemd-hibernate-resume@.service + which must be finished before local-fs-pre.target, + so no filesystems can be mounted before the check is complete. + When the root device becomes available, initd-root-device.target is reached. If the root device can be mounted at