Blame SOURCES/pam-1.3.1-namespace-gdm-doc.patch

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