1 |
From 2b7eba1cda5e276761cd447ecbe9c4798142bae2 Mon Sep 17 00:00:00 2001 |
2 |
From: Lukas Nykryn <lnykryn@redhat.com> |
3 |
Date: Fri, 16 Aug 2013 10:39:26 +0200 |
4 |
Subject: [PATCH 2/2] create /tmp/.X11-unix in rc.sysinit |
5 |
|
6 |
--- |
7 |
rc.d/rc.sysinit | 5 +++++ |
8 |
1 file changed, 5 insertions(+) |
9 |
|
10 |
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit |
11 |
index 3a72b51..ea8b1bd 100755 |
12 |
--- a/rc.d/rc.sysinit |
13 |
+++ b/rc.d/rc.sysinit |
14 |
@@ -890,6 +890,11 @@ mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1 |
15 |
chown root:root /tmp/.ICE-unix |
16 |
[ -n "$SELINUX_STATE" ] && restorecon /tmp/.ICE-unix >/dev/null 2>&1 |
17 |
|
18 |
+# Make X11 directory |
19 |
+mkdir -m 1777 -p /tmp/.X11-unix >/dev/null 2>&1 |
20 |
+chown root:root /tmp/.X11-unix |
21 |
+[ -n "$SELINUX_STATE" ] && restorecon /tmp/.X11-unix >/dev/null 2>&1 |
22 |
+ |
23 |
#if [ -x /etc/init.d/diskdump ]; then |
24 |
# /etc/init.d/diskdump swapsavecore |
25 |
#fi |
26 |
-- |
27 |
1.8.1.4 |
28 |
|