rpms/xorg-x11-xinit/F-11 Xsession, 1.12, 1.13 xorg-x11-xinit.spec, 1.68, 1.69

Matej Cepl mcepl at fedoraproject.org
Tue Nov 10 20:54:05 UTC 2009


Author: mcepl

Update of /cvs/pkgs/rpms/xorg-x11-xinit/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10748

Modified Files:
	Xsession xorg-x11-xinit.spec 
Log Message:
Fix SELinux labels on $errfile (fixes bug# 530419)


Index: Xsession
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-xinit/F-11/Xsession,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- Xsession	25 Feb 2009 09:57:22 -0000	1.12
+++ Xsession	10 Nov 2009 20:54:05 -0000	1.13
@@ -14,6 +14,7 @@ if [ -z "$GDMSESSION" ]; then
     errfile="$HOME/.xsession-errors"
     if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null ); then
         chmod 600 "$errfile"
+        [ -x /sbin/restorecon ] && /sbin/restorecon $errfile
         exec > "$errfile" 2>&1
     else
         errfile=$(mktemp -q /tmp/xses-$USER.XXXXXX)


Index: xorg-x11-xinit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-xinit/F-11/xorg-x11-xinit.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -p -r1.68 -r1.69
--- xorg-x11-xinit.spec	8 Jun 2009 21:39:12 -0000	1.68
+++ xorg-x11-xinit.spec	10 Nov 2009 20:54:05 -0000	1.69
@@ -3,7 +3,7 @@
 Summary:   X.Org X11 X Window System xinit startup scripts
 Name:      xorg-x11-%{pkgname}
 Version:   1.0.9
-Release:   9%{?dist}
+Release:   10%{?dist}
 License:   MIT
 Group:     User Interface/X
 URL:       http://www.x.org
@@ -132,6 +132,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xsessions/xinit-compat.desktop
 
 %changelog
+* Tue Nov 10 2009 Matěj Cepl <mcepl at redhat.com> - 1.0.9-10
+- Fix SELinux labels on $errfile (fixes bug# 530419)
+
 * Mon Jun 08 2009 Matěj Cepl <mcepl at redhat.com> - 1.0.9-9
 - consider scripts in /etc/X11/xinit/Xclients.d/ as well
 




More information about the fedora-extras-commits mailing list