rpms/xorg-x11-xfs/F-10 xfs.init, 1.8, 1.9 xorg-x11-xfs.spec, 1.34, 1.35
Adam Jackson
ajax at fedoraproject.org
Mon Apr 13 19:02:05 UTC 2009
Author: ajax
Update of /cvs/pkgs/rpms/xorg-x11-xfs/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15738
Modified Files:
xfs.init xorg-x11-xfs.spec
Log Message:
* Mon Apr 13 2009 Adam Jackson <ajax at redhat.com> 1.0.5-3.1
- xfs.init: Fix mkdir race (#492517)
Index: xfs.init
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-xfs/F-10/xfs.init,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- xfs.init 27 Jul 2007 16:06:21 -0000 1.8
+++ xfs.init 13 Apr 2009 19:01:34 -0000 1.9
@@ -56,12 +56,12 @@
FONT_UNIX_DIR=/tmp/.font-unix
echo -n $"Starting $prog: "
[ -x /usr/sbin/chkfontpath ] && buildfontlist
- # Clean out .font-unix dir, and recreate it with the proper ownership and
- # permissions.
- rm -rf $FONT_UNIX_DIR
- mkdir $FONT_UNIX_DIR
- chown root:root $FONT_UNIX_DIR
- chmod 1777 $FONT_UNIX_DIR
+ # Make sure .font-unix dir, exists.
+ if [ ! -d $FONT_UNIX_DIR ]
+ then
+ mkdir -m 1777 $FONT_UNIX_DIR || :
+ restorecon $FONT_UNIX_DIR 2>/dev/null || :
+ fi
# Fix needed for SELinux for bug (#130421,130969)
[ -x /sbin/restorecon ] && /sbin/restorecon $FONT_UNIX_DIR
Index: xorg-x11-xfs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-xfs/F-10/xorg-x11-xfs.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- xorg-x11-xfs.spec 15 Jul 2008 17:41:49 -0000 1.34
+++ xorg-x11-xfs.spec 13 Apr 2009 19:01:34 -0000 1.35
@@ -1,7 +1,7 @@
Summary: X.Org X11 xfs font server
Name: xorg-x11-xfs
Version: 1.0.5
-Release: 3%{?dist}
+Release: 3.1%{?dist}
# NOTE: Remove Epoch line if package gets renamed
Epoch: 1
License: MIT
@@ -244,6 +244,9 @@
%{_mandir}/man1/xfsinfo.1x*
%changelog
+* Mon Apr 13 2009 Adam Jackson <ajax at redhat.com> 1.0.5-3.1
+- xfs.init: Fix mkdir race (#492517)
+
* Tue Jul 15 2008 Adam Jackson <ajax at redhat.com> 1.0.5-3
- Fix license tag.
More information about the fedora-extras-commits
mailing list