]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document that automount units are privileged
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Dec 2020 13:04:21 +0000 (14:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Dec 2020 17:25:32 +0000 (18:25 +0100)
Fixes: #17886
man/systemd.automount.xml
man/systemd.swap.xml

index a592fd3af2f6a4d73af1ff378fa696a4eacc622b..a6bc81e216b50f292ee8cf7ffc3fef787caacfa0 100644 (file)
     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>
index 3e41d6f0bfed7ffc30617990ed5cdf9b2548772c..2a867f92e9777fc4cc236faaac06e08c0fa215cb 100644 (file)
@@ -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>