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

Annotation 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.1 - (hide annotations) (download)
Wed Oct 2 03:31:21 2013 UTC (10 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: initscripts-8_45_42-2_1_el5_sme
* Tue Oct 1 2013 Ian Wells <esmith@wellsi.com> 8.45.42-2.1.sme
- Update to 8.45.42-2.1 [SME: 7870]
- 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 wellsi 1.1 diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
2     index 3a19c85..20a74e6 100755
3     --- a/rc.d/rc.sysinit
4     +++ b/rc.d/rc.sysinit
5     @@ -889,6 +889,11 @@ mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1
6     chown root:root /tmp/.ICE-unix
7     [ -n "$SELINUX_STATE" ] && restorecon /tmp/.ICE-unix >/dev/null 2>&1
8    
9     +# Make X11 directory
10     +mkdir -m 1777 -p /tmp/.X11-unix >/dev/null 2>&1
11     +chown root:root /tmp/.X11-unix
12     +[ -n "$SELINUX_STATE" ] && restorecon /tmp/.X11-unix >/dev/null 2>&1
13     +
14     #if [ -x /etc/init.d/diskdump ]; then
15     # /etc/init.d/diskdump swapsavecore
16     #fi

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