pcp/0003-Remove-runlevel-4-from-init-scripts.patch
Klaus Kämpf 4c9c407f67 Accepting request 634471 from home:kwk:branches:Base:System
- Upgrade to 4.1.1
- renamed patches
  0002-Install-libraries-without-exec-permission.patch
  to 0001-Install-libraries-without-exec-permission.patch
  0005-Remove-runlevel-4-from-init-scripts.patch
  to 0003-Remove-runlevel-4-from-init-scripts.patch
  0006-create-pmlogger-and-pmie-logdirs-during-install.patch
  to 0004-create-pmlogger-and-pmie-logdirs-during-install.patch
  0008-SUSE-fy-pmsnap-control-path.patch
  to 0005-SUSE-fy-pmsnap-control-path.patch
  0009-pmsnap-control-var-www-srv-www.patch
  to 0006-pmsnap-control-var-www-srv-www.patch
- obsolete (upstream)
  sysmacros.patch
  0003-pcp-legacy-init-lsb.patch
  0007-Honor-CFLAGS-in-qmake.patch
  
- new
  0002-Remove-CPAN-rpaths.patch
  0003-pcp-legacy-init-lsb.patch
  0007-Honor-CFLAGS-in-qmake.patch

OBS-URL: https://build.opensuse.org/request/show/634471
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=63
2018-09-08 14:50:14 +00:00

92 lines
3.4 KiB
Diff

From 582c2e703b48f2c8aa6a7e574997a4650b8a67a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 12 Dec 2014 15:46:15 +0100
Subject: [PATCH 3/6] Remove runlevel 4 from init scripts
---
src/pmcd/rc_pcp | 12 ++++++------
src/pmcd/rc_pmcd | 2 +-
src/pmie/rc_pmie | 2 +-
src/pmlogger/rc_pmlogger | 2 +-
src/pmproxy/rc_pmproxy | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/pmcd/rc_pcp b/src/pmcd/rc_pcp
index fc58627acc4b..9acf3c6f7cca 100644
--- a/src/pmcd/rc_pcp
+++ b/src/pmcd/rc_pcp
@@ -31,12 +31,12 @@
# e.g. SuSE, where chkconfig is a perl script.
### BEGIN INIT INFO
# Provides: pcp
-# Required-Start:
-# Should-Start:
-# Required-Stop:
-# Should-Stop:
-# Default-Start:
-# Default-Stop:
+# Required-Start: $local_fs
+# Should-Start: $network $remote_fs $syslog $time
+# Required-Stop: $local_fs
+# Should-Stop: $network $remote_fs $syslog
+# Default-Start: 2 3 5
+# Default-Stop: 0 1 6
# Short-Description: Legacy control for PCP daemons
# Description: Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons
### END INIT INFO
diff --git a/src/pmcd/rc_pmcd b/src/pmcd/rc_pmcd
index f42e435bdf3f..164526fac01a 100644
--- a/src/pmcd/rc_pmcd
+++ b/src/pmcd/rc_pmcd
@@ -27,7 +27,7 @@
# Should-Start: $network $remote_fs $syslog $time
# Required-Stop: $local_fs
# Should-Stop: $network $remote_fs $syslog
-# Default-Start: 2 3 4 5
+# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Control pmcd (the collection daemon for PCP)
# Description: Configure and control pmcd (the collection daemon for the Performance Co-Pilot)
diff --git a/src/pmie/rc_pmie b/src/pmie/rc_pmie
index 013f2aab3eed..48c07c61081d 100644
--- a/src/pmie/rc_pmie
+++ b/src/pmie/rc_pmie
@@ -25,7 +25,7 @@
# Should-Start: $local_fs $network $syslog $time $pmcd
# Required-Stop: $remote_fs
# Should-Stop: $local_fs $network $syslog $pmcd
-# Default-Start: 2 3 4 5
+# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Control pmie (performance inference engine for PCP)
# Description: Configure and control pmie (the performance inference engine for the Performance Co-Pilot)
diff --git a/src/pmlogger/rc_pmlogger b/src/pmlogger/rc_pmlogger
index 390809a27255..b6038840f23e 100644
--- a/src/pmlogger/rc_pmlogger
+++ b/src/pmlogger/rc_pmlogger
@@ -27,7 +27,7 @@
# Should-Start: $network $remote_fs $syslog $time $pmcd
# Required-Stop: $local_fs
# Should-Stop: $network $remote_fs $syslog $pmcd
-# Default-Start: 2 3 4 5
+# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Control pmlogger (the performance metrics logger for PCP)
# Description: Configure and control pmlogger (the performance metrics logger for the Performance Co-Pilot)
diff --git a/src/pmproxy/rc_pmproxy b/src/pmproxy/rc_pmproxy
index 0bb38c005a7b..45ca18b9a5c1 100644
--- a/src/pmproxy/rc_pmproxy
+++ b/src/pmproxy/rc_pmproxy
@@ -27,7 +27,7 @@
# Should-Start: $local_fs $network $syslog $time $pmcd
# Required-Stop: $remote_fs
# Should-Stop: $local_fs $network $syslog $pmcd
-# Default-Start: 2 3 4 5
+# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Control pmproxy (the pmcd proxy daemon for PCP)
# Description: Configure and control pmproxy (the pmcd proxy daemon for the Performance Co-Pilot)
--
2.18.0