pcp/0003-Remove-runlevel-4-from-init-scripts.patch

51 lines
1.8 KiB
Diff
Raw Permalink Normal View History

From e94401a3f0f6c68f695f0b4a6467cf13daa35024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Mon, 16 May 2022 17:34:15 +0200
Subject: [PATCH] rc scripts: remove runlevel 4 from init scripts
Acked-by: David Disseldorp <ddiss@suse.de>
---
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(-)
Accepting request 1164379 from home:mschreiner:branches:Base:System - Add fix for bsc#1222121: * 0011-disable-redis-proxying-by-default.patch - Upgrade to 6.2.0 (bsc#1217826): * Changes from pcp-6.2.0: - Client tools and utilities: pmlogger: default to creating version 3 PCP archives pmie, pmlogger, pmcd, pmproxy: init script hardening to run less as root:root, more as pcp:pcp and more safely pcp-reboot-init: new systemd service for $PCP_RC_DIR setup pcp2arrow: new, export metrics to parquet format for pandas pcp-atop: deterministic process sort when handling NULLs pcp-atop: update to v2.10.0 upstream code pcp-htop: update to latest upstream fixes pcp-geolocate: function with older versions of python pcp-meminfo: resolve possible 'broken pipe' diagnostics pcp-ss: fix handling of listening state sockets to match ss pcp-ss: fix the UDP UNCONN vs LISTEN state handling - PMDA additions, enhancements and bug fixes: pmdaproc: improvements for process accounting metrics pmdalinux: add pgpromote* and pgdemote* memory metrics pmdalinux: add metric sysfs.module.zswap.max_pool_percent pmdalinux: add new SNMP metric network.ip.outtransmits pmdasummary: send state change 0 (no change) back to pmcd pmdapostgresql: support the psycopg3 python module as well pmdaopenmetrics: kepler support - live metrics and logging - Server-side utilities and log management scripts: pmlogrewrite, pmlogredact: fix for missing data volumes pmcd: cosmetic change to avoid pipe2 name clash runaspcp: new helper utility for unprivileged rc scripts OBS-URL: https://build.opensuse.org/request/show/1164379 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=133
2024-04-08 16:24:12 +02:00
Index: pcp-6.2.0/src/pmcd/rc_pcp
===================================================================
--- pcp-6.2.0.orig/src/pmcd/rc_pcp
+++ pcp-6.2.0/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
Accepting request 1164379 from home:mschreiner:branches:Base:System - Add fix for bsc#1222121: * 0011-disable-redis-proxying-by-default.patch - Upgrade to 6.2.0 (bsc#1217826): * Changes from pcp-6.2.0: - Client tools and utilities: pmlogger: default to creating version 3 PCP archives pmie, pmlogger, pmcd, pmproxy: init script hardening to run less as root:root, more as pcp:pcp and more safely pcp-reboot-init: new systemd service for $PCP_RC_DIR setup pcp2arrow: new, export metrics to parquet format for pandas pcp-atop: deterministic process sort when handling NULLs pcp-atop: update to v2.10.0 upstream code pcp-htop: update to latest upstream fixes pcp-geolocate: function with older versions of python pcp-meminfo: resolve possible 'broken pipe' diagnostics pcp-ss: fix handling of listening state sockets to match ss pcp-ss: fix the UDP UNCONN vs LISTEN state handling - PMDA additions, enhancements and bug fixes: pmdaproc: improvements for process accounting metrics pmdalinux: add pgpromote* and pgdemote* memory metrics pmdalinux: add metric sysfs.module.zswap.max_pool_percent pmdalinux: add new SNMP metric network.ip.outtransmits pmdasummary: send state change 0 (no change) back to pmcd pmdapostgresql: support the psycopg3 python module as well pmdaopenmetrics: kepler support - live metrics and logging - Server-side utilities and log management scripts: pmlogrewrite, pmlogredact: fix for missing data volumes pmcd: cosmetic change to avoid pipe2 name clash runaspcp: new helper utility for unprivileged rc scripts OBS-URL: https://build.opensuse.org/request/show/1164379 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=133
2024-04-08 16:24:12 +02:00
Index: pcp-6.2.0/src/pmcd/rc_pmcd
===================================================================
--- pcp-6.2.0.orig/src/pmcd/rc_pmcd
+++ pcp-6.2.0/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)