aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Gerstner <matthias.gerstner@suse.de>2024-01-02 13:32:34 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-03 10:50:38 +0000
commita3dbb75bbed62093b8acb680cab783e522f6c67f (patch)
treea9cfd4d0820ba17fc332ca84736d6e2bc32bed51
parentc48622d95e3d441fcee6228be1952fe7ee299f6d (diff)
downloadpam-a3dbb75bbed62093b8acb680cab783e522f6c67f.tar.gz
pam-a3dbb75bbed62093b8acb680cab783e522f6c67f.tar.bz2
pam-a3dbb75bbed62093b8acb680cab783e522f6c67f.zip
pam_namespace: document instance_prefix field better wrt final element
-rw-r--r--modules/pam_namespace/namespace.conf.5.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/pam_namespace/namespace.conf.5.xml b/modules/pam_namespace/namespace.conf.5.xml
index d398639b..1141136d 100644
--- a/modules/pam_namespace/namespace.conf.5.xml
+++ b/modules/pam_namespace/namespace.conf.5.xml
@@ -74,12 +74,13 @@
<para>
The second field, <replaceable>instance_prefix</replaceable> is
the string prefix used to build the pathname for the instantiation
- of &lt;polydir&gt;. Depending on the polyinstantiation
- <replaceable>method</replaceable> it is then appended with
- "instance differentiation string" to generate the final
- instance directory path. This directory is created if it did not exist
- already, and is then bind mounted on the &lt;polydir&gt; to provide an
- instance of &lt;polydir&gt; based on the &lt;method&gt; column.
+ of &lt;polydir&gt;. The path must end in a trailing slash, or
+ in a directory prefix used to build the full per-instance path.
+ Depending on the polyinstantiation <replaceable>method</replaceable> it
+ is then appended with "instance differentiation string" to generate the
+ final instance directory path. This directory is created if it did not
+ exist already, and is then bind mounted on the &lt;polydir&gt; to provide
+ an instance of &lt;polydir&gt; based on the &lt;method&gt; column.
The special string <emphasis>$HOME</emphasis> is replaced with the
user's home directory, and <emphasis>$USER</emphasis> with the username.
This field cannot be blank.