From 51f2176d0df1088407afbadc138aeaa9dbe017e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 12 Oct 2017 22:43:58 +0200 Subject: [PATCH] man: add a note about _netdev usage (cherry picked from commit 288c26165e0ff71857394f360f42432bc808556f) --- man/crypttab.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/man/crypttab.xml b/man/crypttab.xml index caed04836e..3aebd7ea90 100644 --- a/man/crypttab.xml +++ b/man/crypttab.xml @@ -201,7 +201,16 @@ will be ordered between remote-fs-pre.target and remote-cryptsetup.target, instead of cryptsetup-pre.target and - cryptsetup.target. + cryptsetup.target. + + Hint: if this device is used for a mount point that is specified in + fstab5, + the option should also be used for the mount + point. Otherwise, a dependency loop might be created where the mount point + will be pulled in by local-fs.target, while the + service to configure the network is usually only started after + the local file system has been mounted. + @@ -433,6 +442,7 @@ hidden /mnt/tc_hidden /dev/null tcrypt-hidden,tcrypt-keyfile=/etc/keyfil systemd1, systemd-cryptsetup@.service8, systemd-cryptsetup-generator8, + fstab5, cryptsetup8, mkswap8, mke2fs8