mirror of
https://github.com/systemd/systemd.git
synced 2025-04-01 18:50:16 +03:00
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
This commit is contained in:
parent
c5c755e1bc
commit
6d9e45e97f
@ -179,6 +179,13 @@
|
||||
identical to the system manager bootup (see above) until it
|
||||
reaches <filename>basic.target</filename>. From there, systemd
|
||||
approaches the special target <filename>initrd.target</filename>.
|
||||
|
||||
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 <filename>systemd-hibernate-resume@.service</filename>
|
||||
which must be finished before <filename>local-fs-pre.target</filename>,
|
||||
so no filesystems can be mounted before the check is complete.
|
||||
|
||||
When the root device becomes available,
|
||||
<filename>initd-root-device.target</filename> is reached.
|
||||
If the root device can be mounted at
|
||||
|
Loading…
x
Reference in New Issue
Block a user