diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-10-12 22:43:58 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-10-17 19:15:58 +0200 |
commit | 288c26165e0ff71857394f360f42432bc808556f (patch) | |
tree | cdd947e40832b781db8aed2a8e39dbb28012edb0 /man | |
parent | units: replace remote-cryptsetup-pre.target with remote-fs-pre.target (diff) | |
download | systemd-288c26165e0ff71857394f360f42432bc808556f.tar.xz systemd-288c26165e0ff71857394f360f42432bc808556f.zip |
man: add a note about _netdev usage
Diffstat (limited to 'man')
-rw-r--r-- | man/crypttab.xml | 12 |
1 files changed, 11 insertions, 1 deletions
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 <filename>remote-fs-pre.target</filename> and <filename>remote-cryptsetup.target</filename>, instead of <filename>cryptsetup-pre.target</filename> and - <filename>cryptsetup.target</filename>.</para></listitem> + <filename>cryptsetup.target</filename>.</para> + + <para>Hint: if this device is used for a mount point that is specified in + <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + the <option>_netdev</option> 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 <filename>local-fs.target</filename>, while the + service to configure the network is usually only started <emphasis>after</emphasis> + the local file system has been mounted.</para> + </listitem> </varlistentry> <varlistentry> @@ -433,6 +442,7 @@ hidden /mnt/tc_hidden /dev/null tcrypt-hidden,tcrypt-keyfile=/etc/keyfil <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd-cryptsetup@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd-cryptsetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, + <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>, <citerefentry project='die-net'><refentrytitle>cryptsetup</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='man-pages'><refentrytitle>mkswap</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='man-pages'><refentrytitle>mke2fs</refentrytitle><manvolnum>8</manvolnum></citerefentry> |