Michal Sekletar | f5f0737 | 2017-03-16 09:16:18 +0100 | [diff] [blame^] | 1 | From 6c03191c817094b67352a8553b5df9850eaecd88 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Adrian=20Heine=20n=C3=A9=20Lang?= <mail@adrianheine.de> |
| 3 | Date: Tue, 14 Mar 2017 22:42:18 +0100 |
| 4 | Subject: [PATCH] man: Document when pam_systemd sets XDG_RUNTIME_DIR (#5570) |
| 5 | |
| 6 | https://github.com/systemd/systemd/blob/f97b34a6/src/login/pam_systemd.c#L439 |
| 7 | (cherry picked from commit 5c50321ca9c660dac39976ab29ed2f28f872628d) |
| 8 | --- |
| 9 | man/pam_systemd.xml | 5 +++-- |
| 10 | 1 file changed, 3 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml |
| 13 | index 6e1aa0d..cef5445c 100644 |
| 14 | --- a/man/pam_systemd.xml |
| 15 | +++ b/man/pam_systemd.xml |
| 16 | @@ -88,7 +88,7 @@ |
| 17 | and so will the user's slice unit.</para></listitem> |
| 18 | |
| 19 | <listitem><para>If the last concurrent session of a user ends, |
| 20 | - the <varname>$XDG_RUNTIME_DIR</varname> directory and all its |
| 21 | + the user runtime directory <filename>/run/user/$UID</filename> and all its |
| 22 | contents are removed, too.</para></listitem> |
| 23 | </orderedlist> |
| 24 | |
| 25 | @@ -192,7 +192,8 @@ |
| 26 | offers the greatest possible file system feature set the |
| 27 | operating system provides. For further details, see the <ulink |
| 28 | url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG |
| 29 | - Base Directory Specification</ulink>.</para></listitem> |
| 30 | + Base Directory Specification</ulink>. <varname>$XDG_RUNTIME_DIR</varname> |
| 31 | + is not set if the current user is not the original user of the session.</para></listitem> |
| 32 | </varlistentry> |
| 33 | |
| 34 | </variablelist> |
| 35 | -- |
| 36 | 2.9.3 |
| 37 | |