diff --git a/Xsession b/Xsession index 8fdcde8..e12e0ee 100644 --- a/Xsession +++ b/Xsession @@ -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) diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index f951153..c156be0 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -3,7 +3,7 @@ Summary: X.Org X11 X Window System xinit startup scripts Name: xorg-x11-%{pkgname} Version: 1.0.9 -Release: 12%{?dist} +Release: 13%{?dist} License: MIT Group: User Interface/X URL: http://www.x.org @@ -131,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/xsessions/xinit-compat.desktop %changelog +* Tue Nov 10 2009 Matěj Cepl - 1.0.9-13 +- Fix SELinux labels on $errfile (fixes bug# 530419) + * Mon Jul 27 2009 Fedora Release Engineering - 1.0.9-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild