summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-12-09 14:04:21 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-12-10 17:39:17 +0100
commit924bd7ec69036e11c510a4f3518da944b4967d61 (patch)
tree0c17427a575dd2caa15eff62b34be8d8dee1ea9d
parent325386c4e3c0ff45b72b298cbcbbb4b0aaa03d29 (diff)
downloadsystemd-924bd7ec69036e11c510a4f3518da944b4967d61.tar.gz
man: document that automount units are privileged
Fixes: #17886 (cherry picked from commit eef34a1d8fe5ca44bdab189b682642096c53e661)
-rw-r--r--man/systemd.automount.xml4
-rw-r--r--man/systemd.swap.xml3
2 files changed, 7 insertions, 0 deletions
diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml
index 29b9bb14e1..b8e56f62d5 100644
--- a/man/systemd.automount.xml
+++ b/man/systemd.automount.xml
@@ -63,6 +63,10 @@
for mount dependencies here. For example, you should not set
<varname>After=network-online.target</varname> or similar on network
filesystems. Doing so may result in an ordering cycle.</para>
+
+ <para>Note that automount support on Linux is privileged, automount units are hence only available in the
+ system service manager (and root's user service manager), but not in unprivileged user's service
+ manager.</para>
</refsect1>
<refsect1>
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index 4b1f850af4..720b2f0627 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -59,6 +59,9 @@
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Note that swap
units cannot be templated, nor is possible to add multiple names to a swap unit by creating additional symlinks to
it.</para>
+
+ <para>Note that swap support on Linux is privileged, swap units are hence only available in the system
+ service manager (and root's user service manager), but not in unprivileged user's service manager.</para>
</refsect1>
<refsect1>