From eef34a1d8fe5ca44bdab189b682642096c53e661 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 9 Dec 2020 14:04:21 +0100 Subject: [PATCH] man: document that automount units are privileged Fixes: #17886 --- man/systemd.automount.xml | 4 ++++ man/systemd.swap.xml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml index a592fd3af2..a6bc81e216 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 After=network-online.target or similar on network filesystems. Doing so may result in an ordering cycle. + + 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. diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml index 3e41d6f0bf..2a867f92e9 100644 --- a/man/systemd.swap.xml +++ b/man/systemd.swap.xml @@ -59,6 +59,9 @@ systemd.unit5. Note that swap units cannot be templated, nor is possible to add multiple names to a swap unit by creating additional symlinks to it. + + 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.