387ec0
From 491e5500b6b3913f531574208274358a2df88659 Mon Sep 17 00:00:00 2001
387ec0
From: ikerexxe <ipedrosa@redhat.com>
387ec0
Date: Mon, 5 Oct 2020 10:41:29 +0200
387ec0
Subject: [PATCH] pam_namespace: polyinstantiation refer to gdm doc
387ec0
387ec0
modules/pam_namespace/pam_namespace.8.xml: delete obsolete information
387ec0
about polyinstantiation and refer to gdm's documentation.
387ec0
387ec0
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1861841
387ec0
---
387ec0
 modules/pam_namespace/pam_namespace.8.xml | 41 ++---------------------
387ec0
 1 file changed, 2 insertions(+), 39 deletions(-)
387ec0
387ec0
diff --git a/modules/pam_namespace/pam_namespace.8.xml b/modules/pam_namespace/pam_namespace.8.xml
387ec0
index f0f80d33..57c44c4b 100644
387ec0
--- a/modules/pam_namespace/pam_namespace.8.xml
387ec0
+++ b/modules/pam_namespace/pam_namespace.8.xml
387ec0
@@ -343,45 +343,8 @@
387ec0
     </para>
387ec0
 
387ec0
     <para>
387ec0
-      To use polyinstantiation with graphical display manager gdm, insert the
387ec0
-      following line, before exit 0, in /etc/gdm/PostSession/Default:
387ec0
-    </para>
387ec0
-
387ec0
-    <para>
387ec0
-      /usr/sbin/gdm-safe-restart
387ec0
-    </para>
387ec0
-
387ec0
-    <para>
387ec0
-      This allows gdm to restart after each session and appropriately adjust
387ec0
-      namespaces of display manager and the X server. If polyinstantiation
387ec0
-      of /tmp is desired along with the graphical environment, then additional
387ec0
-      configuration changes are needed to address the interaction of X server
387ec0
-      and font server namespaces with their use of /tmp to create
387ec0
-      communication sockets. Please use the initialization script
387ec0
-      <filename>/etc/security/namespace.init</filename> to ensure that
387ec0
-      the X server and its clients can appropriately access the
387ec0
-      communication socket X0. Please refer to the sample instructions
387ec0
-      provided in the comment section of the instance initialization script
387ec0
-      <filename>/etc/security/namespace.init</filename>. In addition,
387ec0
-      perform the following changes to use graphical environment with
387ec0
-      polyinstantiation of /tmp:
387ec0
-    </para>
387ec0
-
387ec0
-    <para>
387ec0
-    <literallayout>
387ec0
-      1. Disable the use of font server by commenting out "FontPath"
387ec0
-         line in /etc/X11/xorg.conf. If you do want to use the font server
387ec0
-         then you will have to augment the instance initialization
387ec0
-         script to appropriately provide /tmp/.font-unix from the
387ec0
-         polyinstantiated /tmp.
387ec0
-      2. Ensure that the gdm service is setup to use pam_namespace,
387ec0
-         as described above, by modifying /etc/pam.d/gdm.
387ec0
-      3. Ensure that the display manager is configured to restart X server
387ec0
-         with each new session. This default setup can be verified by
387ec0
-         making sure that /usr/share/gdm/defaults.conf contains
387ec0
-         "AlwaysRestartServer=true", and it is not overridden by
387ec0
-         /etc/gdm/custom.conf.
387ec0
-    </literallayout>
387ec0
+      To use polyinstantiation with graphical display manager gdm, please refer
387ec0
+      to gdm's documentation.
387ec0
     </para>
387ec0
 
387ec0
   </refsect1>
387ec0
-- 
387ec0
2.26.2
387ec0