Fix SELinux labels on $errfile (fixes bug# 530419)
This commit is contained in:
parent
2bf2a23804
commit
57bed23049
1
Xsession
1
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)
|
||||
|
@ -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 <mcepl@redhat.com> - 1.0.9-13
|
||||
- Fix SELinux labels on $errfile (fixes bug# 530419)
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user