/[smeserver]/rpms/initscripts/sme8/0002-create-tmp-.X11-unix-in-rc.sysinit.patch
ViewVC logotype

Contents of /rpms/initscripts/sme8/0002-create-tmp-.X11-unix-in-rc.sysinit.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Oct 27 23:56:32 2013 UTC (10 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: initscripts-8_45_44-3_el5_sme, HEAD
Branch point for: redhat-upstream
Changes since 1.1: +14 -2 lines
* Sun Oct 27 2013 Ian Wells <esmith@wellsi.com> 8.45.44-3.sme
- Update to 8.45.44-3 [SME: 7920]
- Exit with zero exit status for services not listed in configuration
  database to avoid failures in post scriptlets [SME: 1653]
- Merge in SME Server /sbin/e-smith/service wrapper so that only
  initscripts which exist in run-level 7 can be run. This ensures
  that the supervised service is run, if one exists, and protects
  against running "service httpd restart" [SME: 61, 1495]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed