[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/pam/devel pam-0.99.5.0-namespace-init.patch, NONE, 1.1 pam.spec, 1.119, 1.120



Author: tmraz

Update of /cvs/dist/rpms/pam/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30711

Modified Files:
	pam.spec 
Added Files:
	pam-0.99.5.0-namespace-init.patch 
Log Message:
- namespace.init was missing from EXTRA_DIST


pam-0.99.5.0-namespace-init.patch:
 namespace.init |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+)

--- NEW FILE pam-0.99.5.0-namespace-init.patch ---
--- /dev/null      2006-06-20 14:49:34.000000000 +0000
+++ pam_namespace0620+patch/modules/pam_namespace/namespace.init        2006-06-20 16:09:48.000000000 +0000
@@ -0,0 +1,24 @@
+#!/bin/sh
+# This is only a boilerplate for the instance initialization script.
+# It receives polydir path as $1 and the instance path as $2.
+#
+# If you intend to polyinstantiate /tmp and you also want to use the X windows
+# environment, you will have to use this script to bind mount the socket that
+# is used by the X server to communicate with its clients. X server places
+# this socket in /tmp/.X11-unix directory, which will get obscured by
+# polyinstantiation. Uncommenting the following lines will bind mount
+# the relevant directory at an alternative location (/.tmp/.X11-unix) such
+# that the X server, window manager and X clients, can still find the
+# socket X0 at the polyinstanted /tmp/.X11-unix.
+#
+#if [ $1 = /tmp ]; then
+#      if [ ! -f /.tmp/.X11-unix ]; then
+#              mkdir -p /.tmp/.X11-unix
+#      fi
+#      mount --bind /tmp/.X11-unix /.tmp/.X11-unix
+#      cp -fp -- /tmp/.X0-lock "$2/.X0-lock"
+#      mkdir -- "$2/.X11-unix"
+#      ln -fs -- /.tmp/.X11-unix/X0 "$2/.X11-unix/X0"
+#fi
+
+exit 0


Index: pam.spec
===================================================================
RCS file: /cvs/dist/rpms/pam/devel/pam.spec,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- pam.spec	30 Jun 2006 09:20:33 -0000	1.119
+++ pam.spec	30 Jun 2006 10:06:09 -0000	1.120
@@ -33,6 +33,7 @@
 Patch81: pam-0.99.3.0-cracklib-try-first-pass.patch
 Patch82: pam-0.99.3.0-tally-fail-close.patch
 Patch83: pam-0.99.4.0-succif-service.patch
+Patch90: pam-0.99.5.0-namespace-init.patch
 
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: cracklib, cracklib-dicts >= 2.8
@@ -93,6 +94,7 @@
 %patch81 -p1 -b .try-first-pass
 %patch82 -p1 -b .fail-close
 %patch83 -p1 -b .service
+%patch90 -p1 -b .namespace-init
 
 for readme in modules/pam_*/README ; do
 	cp -f ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'`
@@ -363,6 +365,7 @@
 - updated to a new upstream release
 - added service as value to be matched and list matching to
   pam_succeed_if
+- namespace.init was missing from EXTRA_DIST
 
 * Thu Jun  8 2006 Tomas Mraz <tmraz redhat com> 0.99.4.0-5
 - updated pam_namespace with latest patch by Janak Desai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]