Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcp for openSUSE:Factory checked in at 2026-05-06 19:17:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcp (Old) and /work/SRC/openSUSE:Factory/.pcp.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcp" Wed May 6 19:17:25 2026 rev:77 rq:1350886 version:6.3.8 Changes: -------- --- /work/SRC/openSUSE:Factory/pcp/pcp.changes 2024-09-03 13:37:58.391838678 +0200 +++ /work/SRC/openSUSE:Factory/.pcp.new.30200/pcp.changes 2026-05-06 19:17:42.536619562 +0200 @@ -1,0 +2,292 @@ +Tue Apr 28 00:49:51 UTC 2026 - Martin Schreiner <[email protected]> + +- fix: enable build on i586 and update to 6.3.8 +- update version from 6.3.7 to 6.3.8 +- bump copyright year to 2026 +- guard Perl-dependent subpackages behind disable_perl on ix86 +- disable Perl PMDA bindings on ix86 (perl lacks Y2038-safe time_t) +- pass --with-perl=no to configure when disable_perl is set +- disable nutcracker, snmp, sheet2pcp on ix86 (Perl dependencies) +- consolidate disable_nutcracker into the ix86 conditional block +- drop redundant standalone disable_snmp definition +- set _binary_payload to w1.gzdio on ix86 to avoid cpio OOM during + RPM payload creation in 32-bit address space +- wrap perl-PCP-{PMDA,MMV,LogImport,LogSummary} package and files + sections in disable_perl guards +- wrap import-{sar2pcp,iostat2pcp,mrtg2pcp,ganglia2pcp} package and + files sections in disable_perl guards +- wrap 24 Perl-based PMDA subpackages in disable_perl guards: + activemq, bind2, bonding, dbping, ds389, ds389log, gpfs, gpsd, + lustre, memcache, mysql, named, netfilter, news, nginx, oracle, + pdns, postfix, redis, rsyslog, samba, slurm, vmware, zimbra +- changes from 6.3.8: + * libpcp_web: fix selection and testing of exact match filtering + * pmproxy: add After:valkey to the pmproxy systemd unit file + * build: only regenerate debian/rules for Makepkgs builds + * build: use the conditional build-me makefile target for pmdabpf + * docs: update output format in pcp2elasticsearch man page + * docs: fix webapi man page links, no longer hosted on pcp.io + +------------------------------------------------------------------- +Thu Oct 9 00:52:47 UTC 2025 - Martin Schreiner <[email protected]> + +- Fix for bsc#1243420, label pmlogger's rc file properly. +- Add patches: + * 0008-selinux-additional-labeling-rules.patch + +------------------------------------------------------------------- +Wed May 28 18:02:38 UTC 2025 - Antonio Larrosa <[email protected]> + +- Stop supporting qt4 and use qt6 by default in Factory/SLE16 + instead of qt5. + +------------------------------------------------------------------- +Fri May 2 11:47:02 UTC 2025 - David Disseldorp <[email protected]> + +- selinux: add permissions allowing proc_psi_t access (bsc#1241909) + * 0001-selinux-add-permissions-allowing-proc_psi_t-access.patch + +------------------------------------------------------------------- +Wed Apr 30 13:56:01 UTC 2025 - Cathy Hu <[email protected]> + +- Add missing dependencies for selinux-policy-targeted in + %post for pcp-selinux (bsc#1242052) + +------------------------------------------------------------------- +Tue Apr 29 05:14:10 UTC 2025 - Martin Schreiner <[email protected]> + +- Ensure pcp doesn't depend on a specific 'which' implementation (bsc#1239756). + +------------------------------------------------------------------- +Fri Mar 28 15:51:54 UTC 2025 - Martin Schreiner <[email protected]> + +- Update to 6.3.7. + * Changes from 6.3.7: + - pmdadenki: RAPL MSR support + - pmdabind2: updates for more recent bind versions + - pmdalinux: additrional mptcp networking metrics + - pcp2elasticsearch: support dynamic mapping + - pmstat: avoid a corner-case infinite loop + - libpcp: additional locking in __pmLogChangeVol + - libpcp, pmproxy: PM_CTXFLAG_LAST_VOLUME pmNewContext flag + - libpcp_web, pmseries: dynamic --load request rate adjusting + - libpcp_web, pmseries: fix small memleak on archive load + - pmproxy: REST API metric filtering for scrape requests + - build: configure provides a manual pmdamysql override + - build: configure always packages desktop icons in pcp-gui + - build: debian packaging fixes and lintian improvements + - build: fix unreliable configure.ac tests on scandir/dirent + - build: use the vendor-supplied libinih package if available + - selinux: several policy updates + - docs: fix dup section in pmdaredis(1) man page + * Changes from 6.3.4: + - libpcp: fix endian issue in big-endian __pmTimestamp writing + - pcp-xsos: fine-tune error handling on bad command line options + - pcp-xsos: single-line pmPrintValue/pminfo values, escape shell chars + - pcp-atop: correct BPF per-process network metric names + - pmcd, pmdaproc: allow non-local username connection attributes + - pmlogger, libpcp: fix handling of dynamic instance domain labels + - pmrep: use BPF instead of BCC for proc networking metrics + - pmlogconf: use libbpf over BCC for networking metrics + - pmlogextract: fix logic around instances labels, allowing set updates + - pmdalinux: mem.numa.hugepages metrics (per node, per hugepage size) + - pmdabpftrace: fix for some python3 versions async IO create_task + - pmdanvidia: if present use dso from the libnvidia-ml runtime package + - pmdadm, pmieconf: default to enabling the dmthin pmie rules + - configure.ac: fix autoreconf, add AC_DEFINE_UNQUOTED descriptions + - rpm builds: enable bpf, bpftrace, bcc on riscv64 builds + - rpm builds: drop user creation scriptlets for rpm builds + - deb build: force debian/rules to be recreated each time + - containers: updates to the archive-analysis container + - selinux: several policy updates for new AVC denials + - docs: improve SSL/TLS diagnostic in pcp-verify script + * Changes from 6.3.3: + - Debian build changes - see debian/changelog for details + * Changes from 6.3.2: + - PMDA additions, enhancements and bug fixes: + pmdabpf: avoid a too-low rlimit setting within pmdabpf + pmdaproc: add an access control mechanism for remote sampling + pmdalinux: ensure divide-by-zero cannot happen with tmpfs.full + pmdalinux: additional MPTcpExt netstat metrics + pmdastatsd: keep correct track of pmns mapped metric count + pmdaopenmetrics: run as pcp user rather than root by default + pmdaopenmetrics: ensure correct cache file permissions used + - Server-side utilities and log management scripts: + libpcp, pmlogger: add support for zstd(1) compression of archives + pmlogbasename: new, maps filename to PCP archive basename + pmlogcompress: new, archive compression/decompression utility + pmlogcheck: performance improvements + pmlogcheck: allow multiple archive options on command line + pmlogextract: extend -v option with the full pmlogger syntax + pmlogextract: fix for reporting file size on 32-bit platforms + - libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings: + libpcp: fix 64-bit big endian v3 archive timestamp decoding + libpcp: change in archive value interpolation for non-counter metrics + python api: allow timeval and timespec init with float/datetime + - Client tools and utilities: + pminfo: minor error path reworking + pcp-buddyinfo: addition of a --no-interpol option + pcp-ps: added option to view full task name with its argument + - Build, infrastructure and packaging updates: + build: deal with botched deb package names from Debian + build: ensure pmie config.default created with correct ownership + systemd: move pcp-reboot-init rpm spec logic from zeroconf to pcp + selinux: ensure farm pmlogger/pmie processes labelled correctly + - Documentation: + docs: refine pmdaproc -A description details + docs: make pmstat(1) match the code for -t defaults + +------------------------------------------------------------------- +Tue Oct 8 00:48:27 UTC 2024 - David Disseldorp <[email protected]> + +- Fix perl library linking; (bsc#1228100) + + Remove 0002-Remove-CPAN-rpaths.patch + +------------------------------------------------------------------- +Tue Sep 17 02:06:03 UTC 2024 - David Disseldorp <[email protected]> + +- Upgrade to 6.3.1. Changelog: + - Client tools and utilities: + pcp2arrow: fix extraction of values for metrics with indoms + pcp-htop: fix platform setting enabling screen tabs + pcp-htop: update to latest upstream bug fixes + pcp-meminfo: added timestamp string for consistency + - PMDA additions, enhancements and bug fixes: + pmdaopenmetrics: add vLLM metrics support by default + pmdahacluster: handle pacemaker 2.1.6 crm_mon output changes + pmdahacluster: handle new style Pacemaker role descriptions + pmdalinux: MPJoinSynBackupRx, MPJoinSynAckBackupRx netstat metrics + pmdalinux: sysfs fallback from hinv.cpu.clock metric + pmdaproc: lazy initialisation for accounting metrics + pmdapmcd: expose pmcd limits as new metrics + pmdammv: use isnan instead of open-coding NaN checks + - Server-side utilities and log management scripts: + pmcd: put an explicit cap on max number of fetched PMIDs + pmcd: put an explicit cap on max number of contexts per client + pmcd: cleanup caching of local hostname string + pmpost: guard against possible symlink attack; CVE-2024-45770; + (bsc#1230552) + pmproxy: transition to dual Redis/Valkey support + - libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings: + libpcp_web: fix a race in webgroup context teardown on timeout + libpcp_web: transition to dual Redis/Valkey support + libpcp: auto-load the proc PMDA in local context mode + libpcp: fix buffer overflow in __pmServerAddInterface + libpcp: refactor the attr PDU content checking + libpcp: desc PDU consistency check and error message rework + libpcp: text PDU consistency check and error message rework + libpcp: creds PDU consistency check and error message rework + libpcp: label PDU consistency check and error message rework + libpcp: instance PDU consistency check and error message rework + libpcp: rework some fetch PDU integrity checks and error messages + libpcp: reworked __pmDecodeIDList integrity checks and warnings + libpcp: ensure no fd leakage to child from __pmProcessPipe + libpcp: ensure container names contain limited characters + libpcp: fix buffer overrun test in __pmDecodeValueSet; CVE-2024-45769; + (bsc#1230551) + libpcp: hardening of the results PDU handling + libpcp: hardening of the creds PDU handling + libpcp: add new __pmCtlDebug() function + python API: fix MMV metric text, indom and semantics handling + python API: add log import timestamp convenience mechanisms + - Build, infrastructure and packaging updates: + build: tweak Makepkgs as dpkg-parsechangelog(1) is a bit picky + build: drop gfs2 PMDA from build if distro vendor opts-out + build: update denki.conf packaging location for consistency + - Documentation: + man pages: tidy up references to $PCP_DEBUG + man pages: __pmHash* added to man3i + man pages: pmnewcontext(3) unix: and local: option details + docs: man page updates transitioning away from Redis + docs: correct pmlogger(1) man page reference to section 5 page + docs: update the books to refer to key servers more generically + pmrep et al man pages: describe derived metric troubleshooting +- Upgrade to 6.3.0. Changelog: + - Client tools and utilities: + pcp-htop: add AMD GPU metrics support + pcp-htop: fix Available Meter column list in Setup/F2 + pcp-htop: fix nested derived metric definitions for devices + pcp-htop: fix label/color botch in the MySQL keys Meter config + pcp-xsos: fast system overview for Red Hat customer support + pcp-atop: fix units conversion for ipc.shm metric values + pcp2openmetrics: stricter adherence to the specification + pmview: developer preview only, incl. mpvis, dkvis, osvis + pmstat: include guest time in extra CPU stats + pmrep conf: add support for pmstat -x alike metricset + pmrep conf: fix collectl cpu metrics to match current versions + pmrep conf: add guest cpu time to vmstat output where missing + pmrep conf: add metricset to mimic pmstat(1) + pmrep conf: fix cpu metrics in sar/vmstat metricset formulas + pmconfig: add -L y2038_safe to know if 8-byte time_t used + - PMDA additions, enhancements and bug fixes: + pmdaamdgpu: metrics from libdrm and libdrm-amdgpu libraries + pmdabpftrace: use notready startup protocol with pmcd + pmdaproc: add AMD GPU support through fdinfo interface + pmdalinux: add support for Hyper-V balloon metrics + pmdalinux: add hinv.disk metrics for controller and disk model + pmdasockets: fix and defend against ss buffer overruns + - Server-side utilities and log management scripts: + pmcd scripts: ensure pmcd.conf not rewritten on every restart + pmcd scripts: tweak cross-platform ping(1) version sniffing + pmlogger_check: tighten ps|grep process search logic + pmlogconf: add configuration file for vmmemctl metrics + pmlogconf: add configuration file for hugepage metrics + pmlogconf: add configuration file for hyper-v metrics + pmlogctl, pmiectl: send -V output to stderr + - libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings: + python api: harden pmconfig parsing of bad config settings + python api: _TIME_BITS=64 changes for 32-bit platforms + libpcp: additional PMNS locking + libpcp: fixup for child hang in __pmProcessPipe function + libpcp: _TIME_BITS=64 changes for 32-bit platforms + libpcp: rework for some AF routines and signal handling + libpcp: extend derived metrics unary functions + libpcp: fix PDU error handling botch with EINTR + libpcp_gui, libpcp_qed: changes to help pmview + - Build, infrastructure and packaging updates: + build: configure.ac rework for 32-bit time_t Y2038 changes + build: skip broken Perl modules for some 32-bit platforms + build: add deb Replaces for Ubuntu 24.04 package renaming + build: add rpm dependency on /bin/ps from procps[-ng] packages + qa: update java classes for more modern Java bytecode version + qa: rework sample pmda sample.updown.* metrics + - Documentation: + docs: rename pmcheck.1 to pcp-check.1 for perl pmcheck + docs: fix pmdahacluster long metric help text formatting +- Upgrade to 6.2.2. Changelog: + - pmdalibvirt: add support for metric labels + - pmdalibvirt: new balloon, vCPU and domain info metrics + - pmdalibvirt: remove support for the ancient RHEL 5 era "oldapi" + - pmdalinux: implement mem.vmmemctl VM balloon metrics + - pmdauwsgi: improve handling of transient uWSGI servers + - pmdauwsgi: short-circuit handling of pmcheck failure + - pmdauwsgi: fix semantics of several metrics + - pmcd: rate-limit connection failure logging in case of bursts + - pmcheck: rework checkproc.sh when used in non-systemd environment + - pmrep conf: minor tweaks to sync with sysstat 12.7.5 + - pmrep conf: fix few pidstat metric formulas + - pmlogdump: fix -V/--version option handling + - pmlogger_daily_report.sh: fix pmrep error filtering + - pcp2openmetrics: minor bug fixes, added archive timestamps + - indomcachectl: new tool to initialize/dump indom cache files + - libpcp_pmda: add PMDA_CACHE_WRITE indom cache operation + - libpcp_web: ensure openmetrics scrape sees all labels + - libpcp: derived metrics: add novalue() and defined(x) rework + - libpcp: derived metrics lazy binding for defined(x) ternary + - libpcp: add __pmNotifyThrottle and __pmResetNotifyThrottle + - python API: pass help text result as string not bytes + - python API: fix return value from pmLoadDerivedConfig + - tmpfiles.d: extend the tmpfiles.d directory set to logdirs + - bash,zsh: ensure completion for both pmlogdump and pmdumplog + - build: add missing python rpms to pcp-testsuite deps + - build: use Y2038-safe time_t interfaces on 32-bit platforms + - selinux: allow pmie/pmlogger services to use systemd status + - selinux: ignore pmie/pmlogger getattr on nsfs files + - docs: add pmrep(1) hint about CSV delimiter with metricsets + - man pages: pmnewcontext.3: reword PM_CONTEXT_LOCAL description + - man pages: man-spell updates +- Remove 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch + Which was upstreamed long ago. +- Clean up superfluous spec file comments and whitespace. + +------------------------------------------------------------------- Old: ---- 0002-Remove-CPAN-rpaths.patch 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch pcp-6.2.1.tar.gz New: ---- 0001-selinux-add-permissions-allowing-proc_psi_t-access.patch 0008-selinux-additional-labeling-rules.patch pcp-6.3.8.tar.gz ----------(Old B)---------- Old:- Fix perl library linking; (bsc#1228100) + Remove 0002-Remove-CPAN-rpaths.patch Old: - man pages: man-spell updates - Remove 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch Which was upstreamed long ago. ----------(Old E)---------- ----------(New B)---------- New:- selinux: add permissions allowing proc_psi_t access (bsc#1241909) * 0001-selinux-add-permissions-allowing-proc_psi_t-access.patch New:- Add patches: * 0008-selinux-additional-labeling-rules.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcp.spec ++++++ --- /var/tmp/diff_new_pack.5Zw5Mb/_old 2026-05-06 19:17:43.856673959 +0200 +++ /var/tmp/diff_new_pack.5Zw5Mb/_new 2026-05-06 19:17:43.860674124 +0200 @@ -1,7 +1,7 @@ # # spec file for package pcp # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,6 +20,10 @@ %define _fillupdir /var/adm/fillup-templates %endif +%ifarch %{ix86} +%define _binary_payload w1.gzdio +%endif + %if 0%{?suse_version} %global pcp_gr System/Monitoring %global lib_pkg libpcp3 @@ -66,7 +70,7 @@ License: %{license_gplv2plus} AND %{license_lgplv2plus} AND %{license_cc_by} Group: %{pcp_gr} Name: pcp -Version: 6.2.1 +Version: 6.3.8 Release: 0 %global buildversion 1 @@ -79,23 +83,21 @@ # PATCH-FIX-OPENSUSE, [email protected] Patch1: 0001-Install-libraries-without-exec-permission.patch # PATCH-FIX-OPENSUSE, [email protected] -Patch2: 0002-Remove-CPAN-rpaths.patch -# PATCH-FIX-OPENSUSE, [email protected] Patch3: 0003-Remove-runlevel-4-from-init-scripts.patch # PATCH-FIX-OPENSUSE, [email protected] Patch5: 0005-SUSE-fy-pmsnap-control-path.patch # PATCH-FIX-OPENSUSE, [email protected] Patch6: 0006-pmsnap-control-var-www-srv-www.patch # PATCH-FIX-UPSTREAM, [email protected] -Patch10: 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch +Patch7: 0001-selinux-add-permissions-allowing-proc_psi_t-access.patch +# PATCH-FIX-OPENSUSE, [email protected] +Patch8: 0008-selinux-additional-labeling-rules.patch %global disable_selinux 0 %if 0%{?suse_version} < 1600 %global disable_selinux 1 %endif -%global disable_snmp 0 - # No libpfm devel packages for s390, armv7hl nor for some rhels, disable %ifarch s390 s390x armv7hl %global disable_perfevent 1 @@ -121,7 +123,20 @@ %global disable_statsd 1 %endif +# Perl PMDA bindings need a Y2038-safe Perl (64-bit time_t) +%ifarch %{ix86} +%global disable_perl 1 +%global disable_nutcracker 1 +%global disable_snmp 1 %global disable_sheet2pcp 1 +%global with_perl --with-perl=no +%else +%global disable_perl 0 +%global disable_nutcracker 0 +%global disable_snmp 0 +%global disable_sheet2pcp 0 +%global with_perl --with-perl=yes +%endif %global disable_python3 0 # drop python2 packages @@ -183,13 +198,6 @@ %global disable_resctrl 1 %endif -# support for pmdanutcracker (perl deps missing on rhel) -%if 0%{?rhel} == 0 -%global disable_nutcracker 0 -%else -%global disable_nutcracker 1 -%endif - # support for pmdarpm %if 0%{?rhel} == 0 || 0%{?rhel} > 5 %global disable_rpm 0 @@ -210,8 +218,12 @@ # We need qt5 for fedora and openSUSE / SLE factory %if 0%{?fedora} != 0 || 0%{?suse_version} > 1320 +%if 0%{suse_version} >= 1600 +%global default_qt 6 +%else %global default_qt 5 %endif +%endif # systemd services and pmdasystemd %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7 || 0%{?suse_version} @@ -350,13 +362,10 @@ %endif %if !%{disable_qt} BuildRequires: desktop-file-utils -%if 0%{?default_qt} != 5 -%if 0%{?suse_version} -BuildRequires: libqt4-devel >= 4.4 -%else # suse_version -BuildRequires: qt4-devel >= 4.4 -%endif # suse_version -%else # default_qt +%if 0%{?default_qt} == 6 +BuildRequires: qt6-base-devel +BuildRequires: qt6-svg-devel +%else # default_qt == 5 %if 0%{?suse_version} BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtsvg-devel @@ -374,13 +383,13 @@ %if %{disable_systemd} Requires: cron %endif +Requires: /usr/bin/which Requires: fileutils Requires: findutils Requires: gawk Requires: grep Requires: perl Requires: sed -Requires: which %if 0%{?suse_version} Requires: /usr/bin/hostname Requires: cpp @@ -540,12 +549,6 @@ the interesting performance data in a system, and allows client applications to easily retrieve and process any subset of that data. - - - -# -# pcp-conf -# %package conf %if !%{disable_noarch} BuildArch: noarch @@ -560,12 +563,6 @@ %description conf Performance Co-Pilot (PCP) run-time configuration - - - -# -# pcp-libs -# %package -n %{lib_pkg} Summary: Performance Co-Pilot run-time libraries License: %{license_lgplv21plus} @@ -648,12 +645,6 @@ %description -n %{lib_devel_pkg} Performance Co-Pilot (PCP) headers for development. - - - -# -# pcp-devel -# %package devel Summary: Performance Co-Pilot (PCP) development tools and documentation License: %{license_gplv2plus} AND %{license_lgplv21plus} @@ -669,12 +660,6 @@ %description devel Performance Co-Pilot (PCP) documentation and tools for development. - - - -# -# pcp-testsuite -# %package testsuite Summary: Performance Co-Pilot (PCP) test suite License: %{license_gplv2plus} AND %{license_mit} @@ -695,12 +680,7 @@ %description testsuite Quality assurance test suite for Performance Co-Pilot (PCP). - - - -# -# perl-PCP-PMDA. This is the PCP agent perl binding. -# +%if !%{disable_perl} %package -n perl-PCP-PMDA Summary: Performance Co-Pilot (PCP) Perl bindings and documentation License: %{license_gplv2plus} @@ -717,13 +697,9 @@ Each PMDA exports performance data for one specific domain, for example the operating system kernel, Cisco routers, a database, an application, etc. +%endif - - - -# -# perl-PCP-MMV -# +%if !%{disable_perl} %package -n perl-PCP-MMV Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values License: %{license_gplv2plus} @@ -741,13 +717,9 @@ This mechanism allows arbitrary values to be exported from an instrumented script into the PCP infrastructure for monitoring and analysis with pmchart, pmie, pmlogger and other PCP tools. +%endif - - - -# -# perl-PCP-LogImport -# +%if !%{disable_perl} %package -n perl-PCP-LogImport Summary: Performance Co-Pilot Perl bindings for importing external archive data License: %{license_gplv2plus} @@ -762,13 +734,9 @@ The PCP::LogImport module contains the Perl language bindings for importing data in various 3rd party formats into PCP archives so they can be replayed with standard PCP monitoring tools. +%endif - - - -# -# perl-PCP-LogSummary -# +%if !%{disable_perl} %package -n perl-PCP-LogSummary Summary: Performance Co-Pilot Perl bindings for processing pmlogsummary output License: %{license_gplv2plus} @@ -786,13 +754,9 @@ minima, maxima, and other calculations based on the performance data stored in a PCP archive. The Perl interface is ideal for exporting this data into third-party tools (e.g. spreadsheets). +%endif - - - -# -# pcp-import-sar2pcp -# +%if !%{disable_perl} %package import-sar2pcp %if !%{disable_noarch} BuildArch: noarch @@ -810,13 +774,9 @@ %description import-sar2pcp Performance Co-Pilot (PCP) front-end tools for importing sar data into standard PCP archive logs for replay with any PCP monitoring tool. +%endif - - - -# -# pcp-import-iostat2pcp -# +%if !%{disable_perl} %package import-iostat2pcp %if !%{disable_noarch} BuildArch: noarch @@ -834,6 +794,7 @@ %description import-iostat2pcp Performance Co-Pilot (PCP) front-end tools for importing iostat data into standard PCP archive logs for replay with any PCP monitoring tool. +%endif %if !%{disable_sheet2pcp} # @@ -853,12 +814,9 @@ %description import-sheet2pcp Performance Co-Pilot (PCP) front-end tools for importing spreadsheet data into standard PCP archive logs for replay with any PCP monitoring tool. - %endif -# -# pcp-import-mrtg2pcp -# +%if !%{disable_perl} %package import-mrtg2pcp %if !%{disable_noarch} BuildArch: noarch @@ -875,13 +833,9 @@ %description import-mrtg2pcp Performance Co-Pilot (PCP) front-end tools for importing MTRG data into standard PCP archive logs for replay with any PCP monitoring tool. +%endif - - - -# -# pcp-import-ganglia2pcp -# +%if !%{disable_perl} %package import-ganglia2pcp %if !%{disable_noarch} BuildArch: noarch @@ -898,13 +852,8 @@ %description import-ganglia2pcp Performance Co-Pilot (PCP) front-end tools for importing ganglia data into standard PCP archive logs for replay with any PCP monitoring tool. +%endif - - - -# -# pcp-import-collectl2pcp -# %package import-collectl2pcp Summary: Performance Co-Pilot archive tools for importing collectl data License: %{license_lgplv2plus} @@ -961,12 +910,6 @@ to Elasticsearch - a distributed, RESTful search and analytics engine. See https://www.elastic.co/community for further details. - - - -# -# pcp-export-pcp2graphite -# %package export-pcp2graphite %if !%{disable_noarch} BuildArch: noarch @@ -984,11 +927,6 @@ Performance Co-Pilot (PCP) front-end tools for exporting metric values to graphite (http://graphite.readthedocs.org). - - - -# pcp-export-pcp2influxdb -# %package export-pcp2influxdb %if !%{disable_noarch} BuildArch: noarch @@ -1008,12 +946,6 @@ Performance Co-Pilot (PCP) front-end tools for exporting metric values to InfluxDB (https://influxdata.com/time-series-platform/influxdb). - - - -# -# pcp-export-pcp2json -# %package export-pcp2json %if !%{disable_noarch} BuildArch: noarch @@ -1029,12 +961,6 @@ Performance Co-Pilot (PCP) front-end tools for exporting metric values in JSON format. - - - -# -# pcp-export-pcp2spark -# %package export-pcp2spark %if !%{disable_noarch} BuildArch: noarch @@ -1051,9 +977,6 @@ in JSON format to Apache Spark. See https://spark.apache.org/ for further details on Apache Spark. -# -# pcp-export-pcp2xlsx -# %if !%{disable_xlsx} %package export-pcp2xlsx URL: https://pcp.io @@ -1070,9 +993,6 @@ in Excel spreadsheet format. %endif -# -# pcp-export-pcp2xml -# %package export-pcp2xml %if !%{disable_noarch} BuildArch: noarch @@ -1088,12 +1008,6 @@ Performance Co-Pilot (PCP) front-end tools for exporting metric values in XML format. - - - -# -# pcp-export-pcp2zabbix -# %package export-pcp2zabbix %if !%{disable_noarch} BuildArch: noarch @@ -1177,9 +1091,7 @@ but can also be configured to monitor remote GUIDs such as IB switches. %endif -# -# pcp-pmda-activemq -# +%if !%{disable_perl} %package pmda-activemq %if !%{disable_noarch} BuildArch: noarch @@ -1194,14 +1106,9 @@ %description pmda-activemq This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the ActiveMQ message broker. +%endif - - - -#end pcp-pmda-activemq -# -# pcp-pmda-bind2 -# +%if !%{disable_perl} %package pmda-bind2 Summary: Performance Co-Pilot (PCP) metrics for BIND servers License: %{license_gplv2plus} @@ -1215,14 +1122,9 @@ %description pmda-bind2 This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from BIND (Berkeley Internet Name Domain). +%endif - - - -#end pcp-pmda-bind2 -# -# pcp-pmda-redis -# +%if !%{disable_perl} %package pmda-redis %if !%{disable_noarch} BuildArch: noarch @@ -1236,8 +1138,8 @@ %description pmda-redis This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from Redis servers (redis.io). +%endif -#end pcp-pmda-redis %if !%{disable_nutcracker} # # pcp-pmda-nutcracker @@ -1257,12 +1159,9 @@ %description pmda-nutcracker This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from NutCracker (TwemCache). -#end pcp-pmda-nutcracker %endif -# -# pcp-pmda-bonding -# +%if !%{disable_perl} %package pmda-bonding %if !%{disable_noarch} BuildArch: noarch @@ -1277,14 +1176,9 @@ %description pmda-bonding This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about bonded network interfaces. +%endif - - - -#end pcp-pmda-bonding -# -# pcp-pmda-dbping -# +%if !%{disable_perl} %package pmda-dbping %if !%{disable_noarch} BuildArch: noarch @@ -1299,14 +1193,9 @@ %description pmda-dbping This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Database response times and Availablility. +%endif - - - -#end pcp-pmda-dbping -# -# pcp-pmda-ds389 -# +%if !%{disable_perl} %package pmda-ds389 %if !%{disable_noarch} BuildArch: noarch @@ -1325,14 +1214,9 @@ %description pmda-ds389 This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about a 389 Directory Server. +%endif - - - -#end pcp-pmda-ds389 -# -# pcp-pmda-ds389log -# +%if !%{disable_perl} %package pmda-ds389log %if !%{disable_noarch} BuildArch: noarch @@ -1347,14 +1231,9 @@ %description pmda-ds389log This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from a 389 Directory Server log. +%endif - - - -#end pcp-pmda-ds389log -# -# pcp-pmda-gpfs -# +%if !%{disable_perl} %package pmda-gpfs %if !%{disable_noarch} BuildArch: noarch @@ -1368,14 +1247,9 @@ %description pmda-gpfs This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the GPFS filesystem. +%endif - - - -#end pcp-pmda-gpfs -# -# pcp-pmda-gpsd -# +%if !%{disable_perl} %package pmda-gpsd %if !%{disable_noarch} BuildArch: noarch @@ -1390,14 +1264,8 @@ %description pmda-gpsd This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about a GPS Daemon. +%endif - - - -#end pcp-pmda-gpsd -# -# pcp-pmda-docker -# %package pmda-docker Summary: Performance Co-Pilot (PCP) metrics from the Docker daemon License: %{license_gplv2plus} @@ -1408,13 +1276,7 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics using the Docker daemon REST API. - - - -#end pcp-pmda-docker -# -# pcp-pmda-lustre -# +%if !%{disable_perl} %package pmda-lustre %if !%{disable_noarch} BuildArch: noarch @@ -1428,14 +1290,8 @@ %description pmda-lustre This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Lustre Filesystem. +%endif - - - -#end pcp-pmda-lustre -# -# pcp-pmda-lustrecomm -# %package pmda-lustrecomm Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms License: %{license_gplv2plus} @@ -1451,13 +1307,7 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Lustre Filesystem Comms. - - - -#end pcp-pmda-lustrecomm -# -# pcp-pmda-memcache -# +%if !%{disable_perl} %package pmda-memcache %if !%{disable_noarch} BuildArch: noarch @@ -1472,14 +1322,9 @@ %description pmda-memcache This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Memcached. +%endif - - - -#end pcp-pmda-memcache -# -# pcp-pmda-mysql -# +%if !%{disable_perl} %package pmda-mysql %if !%{disable_noarch} BuildArch: noarch @@ -1498,14 +1343,9 @@ %description pmda-mysql This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the MySQL database. +%endif - - - -#end pcp-pmda-mysql -# -# pcp-pmda-named -# +%if !%{disable_perl} %package pmda-named %if !%{disable_noarch} BuildArch: noarch @@ -1520,13 +1360,9 @@ %description pmda-named This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Named nameserver. +%endif - - - -#end pcp-pmda-named -# pcp-pmda-netfilter -# +%if !%{disable_perl} %package pmda-netfilter %if !%{disable_noarch} BuildArch: noarch @@ -1541,14 +1377,9 @@ %description pmda-netfilter This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Netfilter packet filtering framework. +%endif - - - -#end pcp-pmda-netfilter -# -# pcp-pmda-news -# +%if !%{disable_perl} %package pmda-news %if !%{disable_noarch} BuildArch: noarch @@ -1563,14 +1394,9 @@ %description pmda-news This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Usenet News. +%endif - - - -#end pcp-pmda-news -# -# pcp-pmda-nginx -# +%if !%{disable_perl} %package pmda-nginx %if !%{disable_noarch} BuildArch: noarch @@ -1586,14 +1412,9 @@ %description pmda-nginx This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Nginx Webserver. +%endif - - - -#end pcp-pmda-nginx -# -# pcp-pmda-oracle -# +%if !%{disable_perl} %package pmda-oracle %if !%{disable_noarch} BuildArch: noarch @@ -1609,14 +1430,9 @@ %description pmda-oracle This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Oracle database. +%endif - - - -#end pcp-pmda-oracle -# -# pcp-pmda-pdns -# +%if !%{disable_perl} %package pmda-pdns %if !%{disable_noarch} BuildArch: noarch @@ -1631,14 +1447,9 @@ %description pmda-pdns This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the PowerDNS. +%endif - - - -#end pcp-pmda-pdns -# -# pcp-pmda-postfix -# +%if !%{disable_perl} %package pmda-postfix %if !%{disable_noarch} BuildArch: noarch @@ -1670,14 +1481,9 @@ %description pmda-postfix This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Postfix (MTA). +%endif - - - -#end pcp-pmda-postfix -# -# pcp-pmda-rsyslog -# +%if !%{disable_perl} %package pmda-rsyslog %if !%{disable_noarch} BuildArch: noarch @@ -1697,14 +1503,9 @@ %description pmda-rsyslog This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Rsyslog. +%endif - - - -#end pcp-pmda-rsyslog -# -# pcp-pmda-samba -# +%if !%{disable_perl} %package pmda-samba %if !%{disable_noarch} BuildArch: noarch @@ -1719,14 +1520,9 @@ %description pmda-samba This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Samba. +%endif - - - -#end pcp-pmda-samba -# -# pcp-pmda-slurm -# +%if !%{disable_perl} %package pmda-slurm %if !%{disable_noarch} BuildArch: noarch @@ -1740,8 +1536,8 @@ %description pmda-slurm This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from the SLURM Workload Manager. +%endif -#end pcp-pmda-slurm %if !%{disable_snmp} # # pcp-pmda-snmp @@ -1764,12 +1560,9 @@ %description pmda-snmp This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about SNMP. -#end pcp-pmda-snmp %endif -# -# pcp-pmda-vmware -# +%if !%{disable_perl} %package pmda-vmware Summary: Performance Co-Pilot (PCP) metrics for VMware License: %{license_gplv2plus} @@ -1781,14 +1574,9 @@ %description pmda-vmware This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics for VMware. +%endif - - - -#end pcp-pmda-vmware -# -# pcp-pmda-zimbra -# +%if !%{disable_perl} %package pmda-zimbra Summary: Performance Co-Pilot (PCP) metrics for Zimbra License: %{license_gplv2plus} @@ -1800,14 +1588,8 @@ %description pmda-zimbra This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Zimbra. +%endif - - - -#end pcp-pmda-zimbra -# -# pcp-pmda-dm -# %package pmda-dm Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client License: %{license_gplv2plus} @@ -1821,7 +1603,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Device Mapper Cache and Thin Client. -# end pcp-pmda-dm %if !%{disable_python3} # # pcp-pmda-gluster @@ -1840,13 +1621,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the gluster filesystem. - - - -# end pcp-pmda-gluster -# -# pcp-pmda-nfsclient -# %package pmda-nfsclient %if !%{disable_noarch} BuildArch: noarch @@ -1861,7 +1635,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics for NFS Clients. -#end pcp-pmda-nfsclient %if !%{disable_postgresql} # # pcp-pmda-postgresql @@ -1878,12 +1651,8 @@ %description pmda-postgresql This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the PostgreSQL database. -#end pcp-pmda-postgresql %endif -# -# pcp-pmda-zswap -# %package pmda-zswap %if !%{disable_noarch} BuildArch: noarch @@ -1898,13 +1667,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about compressed swap. - - - -# end pcp-pmda-zswap -# -# pcp-pmda-unbound -# %package pmda-unbound %if !%{disable_noarch} BuildArch: noarch @@ -1919,13 +1681,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Unbound DNS Resolver. - - - -# end pcp-pmda-unbound -# -# pcp-pmda-mic -# %package pmda-mic %if !%{disable_noarch} BuildArch: noarch @@ -1940,13 +1695,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Intel MIC cards. - - - -# end pcp-pmda-mic -# -# pcp-pmda-haproxy -# %package pmda-haproxy %if !%{disable_noarch} BuildArch: noarch @@ -1961,7 +1709,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for extracting performance metrics from HAProxy over the HAProxy stats socket. -# end pcp-pmda-haproxy %if !%{disable_libvirt} # # pcp-pmda-libvirt @@ -1986,12 +1733,8 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for extracting virtualisation statistics from libvirt about behaviour of guest and hypervisor machines. -# end pcp-pmda-libvirt %endif -# -# pcp-pmda-elasticsearch -# %package pmda-elasticsearch %if !%{disable_noarch} BuildArch: noarch @@ -2006,13 +1749,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Elasticsearch. - - - -#end pcp-pmda-elasticsearch -# -# pcp-pmda-openvswitch -# %package pmda-openvswitch %if !%{disable_noarch} BuildArch: noarch @@ -2027,13 +1763,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from Open vSwitch. - - - -#end pcp-pmda-openvswitch -# -# pcp-pmda-rabbitmq -# %package pmda-rabbitmq %if !%{disable_noarch} BuildArch: noarch @@ -2048,7 +1777,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about RabbitMQ message queues. -#end pcp-pmda-rabbitmq %if !%{disable_lio} # # pcp-pmda-lio @@ -2076,12 +1804,8 @@ kernels configfs filesystem. The PMDA provides per LUN level stats, and a summary instance per iSCSI target, which aggregates all LUN metrics within the target. -#end pcp-pmda-lio %endif # !%%{disable_lio} -# -# pcp-pmda-openmetrics -# %package pmda-openmetrics %if !%{disable_noarch} BuildArch: noarch @@ -2100,13 +1824,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for extracting metrics from OpenMetrics (https://openmetrics.io/) endpoints. - - - -#end pcp-pmda-openmetrics -# -# pcp-pmda-lmsensors -# %package pmda-lmsensors %if !%{disable_noarch} BuildArch: noarch @@ -2124,13 +1841,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Linux hardware monitoring sensors. - - - -# end pcp-pmda-lmsensors -# -# pcp-pmda-netcheck -# %package pmda-netcheck %if !%{disable_noarch} BuildArch: noarch @@ -2148,7 +1858,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from simple network checks. -# end pcp-pmda-netcheck %endif # !%%{disable_python3} %if !%{disable_mssql} @@ -2168,7 +1877,6 @@ %description pmda-mssql This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from Microsoft SQL Server. -# end pcp-pmda-mssql %endif %if !%{disable_resctrl} @@ -2188,12 +1896,8 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) which exposes performance metrics values from the /sys/fs/resctrl interface to provide information on the last level cache. -# end pcp-pmda-resctrl %endif -# -# pcp-pmda-uwsgi -# %package pmda-uwsgi Summary: Performance Co-Pilot (PCP) metrics uWSGI servers License: %{license_gplv2plus} @@ -2207,7 +1911,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from uWSGI servers. -# end pcp-pmda-uwsgi %if !%{disable_json} # # pcp-pmda-json @@ -2229,13 +1932,8 @@ %description pmda-json This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics output in JSON. -# end pcp-pmda-json %endif # !%%{disable_json} -# -# C pmdas -# pcp-pmda-apache -# %package pmda-apache Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver License: %{license_gplv2plus} @@ -2250,13 +1948,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Apache webserver. - - - -# end pcp-pmda-apache -# -# pcp-pmda-bash -# %package pmda-bash Summary: Performance Co-Pilot (PCP) metrics for the Bash shell License: %{license_gplv2plus} @@ -2271,13 +1962,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Bash shell. - - - -# end pcp-pmda-bash -# -# pcp-pmda-cifs -# %package pmda-cifs Summary: Performance Co-Pilot (PCP) metrics for the CIFS protocol License: %{license_gplv2plus} @@ -2291,13 +1975,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Common Internet Filesytem. - - - -# end pcp-pmda-cifs -# -# pcp-pmda-cisco -# %package pmda-cisco Summary: Performance Co-Pilot (PCP) metrics for Cisco routers License: %{license_gplv2plus} @@ -2312,13 +1989,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Cisco routers. - - - -# end pcp-pmda-cisco -# -# pcp-pmda-gfs2 -# %package pmda-gfs2 Summary: Performance Co-Pilot (PCP) metrics for the GFS2 filesystem License: %{license_gplv2plus} @@ -2332,13 +2002,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Global Filesystem v2. - - - -# end pcp-pmda-gfs2 -# -# pcp-pmda-logger -# %package pmda-logger Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files License: %{license_gplv2plus} @@ -2354,13 +2017,6 @@ collecting metrics from a specified set of log files (or pipes). The PMDA supports both sampled and event-style metrics. - - - -# end pcp-pmda-logger -# -# pcp-pmda-mailq -# %package pmda-mailq Summary: Performance Co-Pilot (PCP) metrics for the sendmail queue License: %{license_gplv2plus} @@ -2375,13 +2031,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about email queues managed by sendmail. - - - -# end pcp-pmda-mailq -# -# pcp-pmda-mounts -# %package pmda-mounts Summary: Performance Co-Pilot (PCP) metrics for filesystem mounts License: %{license_gplv2plus} @@ -2396,13 +2045,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about filesystem mounts. - - - -# end pcp-pmda-mounts -# -# pcp-pmda-nvidia-gpu -# %package pmda-nvidia-gpu Summary: Performance Co-Pilot (PCP) metrics for the Nvidia GPU License: %{license_gplv2plus} @@ -2416,13 +2058,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Nvidia GPUs. - - - -# end pcp-pmda-nvidia-gpu -# -# pcp-pmda-roomtemp -# %package pmda-roomtemp Summary: Performance Co-Pilot (PCP) metrics for the room temperature License: %{license_gplv2plus} @@ -2438,7 +2073,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the room temperature. -# end pcp-pmda-roomtemp %if !%{disable_rpm} # # pcp-pmda-rpm @@ -2457,11 +2091,7 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the installed RPM packages. %endif -# end pcp-pmda-rpm -# -# pcp-pmda-sendmail -# %package pmda-sendmail Summary: Performance Co-Pilot (PCP) metrics for Sendmail License: %{license_gplv2plus} @@ -2477,13 +2107,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Sendmail traffic. - - - -# end pcp-pmda-sendmail -# -# pcp-pmda-shping -# %package pmda-shping Summary: Performance Co-Pilot (PCP) metrics for shell command responses License: %{license_gplv2plus} @@ -2499,13 +2122,6 @@ collecting metrics about quality of service and response time measurements of arbitrary shell commands. - - - -# end pcp-pmda-shping -# -# pcp-pmda-smart -# %package pmda-smart Summary: Performance Co-Pilot (PCP) metrics for S.M.A.R.T values License: %{license_gplv2plus} @@ -2518,13 +2134,6 @@ collecting metrics of disk S.M.A.R.T values making use of data from the smartmontools package. - - - -#end pcp-pmda-smart -# -# pcp-pmda-sockets -# %package pmda-sockets License: %{license_gplv2plus} Summary: Performance Co-Pilot (PCP) per-socket metrics @@ -2537,13 +2146,6 @@ This package contains the PCP Performance Metric Domain Agent (PMDA) for collecting per-socket statistics, making use of utilities such as 'ss'. - - - -#end pcp-pmda-sockets -# -# pcp-pmda-hacluster -# %package pmda-hacluster License: %{license_gplv2plus} Summary: Performance Co-Pilot (PCP) metrics for High Availability Clusters @@ -2555,13 +2157,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about linux High Availability (HA) Clusters. - - - -# end pcp-pmda-hacluster -# -# pcp-pmda-summary -# %package pmda-summary Summary: Performance Co-Pilot (PCP) summary metrics from pmie License: %{license_gplv2plus} @@ -2577,7 +2172,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about other installed pmdas. -# end pcp-pmda-summary %if !%{disable_systemd} # # pcp-pmda-systemd @@ -2594,12 +2188,8 @@ %description pmda-systemd This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from the Systemd journal. -# end pcp-pmda-systemd %endif -# -# pcp-pmda-trace -# %package pmda-trace Summary: Performance Co-Pilot (PCP) metrics for application tracing License: %{license_gplv2plus} @@ -2614,13 +2204,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about trace performance data in applications. - - - -# end pcp-pmda-trace -# -# pcp-pmda-weblog -# %package pmda-weblog Summary: Performance Co-Pilot (PCP) metrics from web server logs License: %{license_gplv2plus} @@ -2635,12 +2218,19 @@ %description pmda-weblog This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about web server logs. + end C pmdas +%package pmda-amdgpu +Summary: Performance Co-Pilot (PCP) metrics from AMD GPU devices +License: %{license_gplv2plus} +Group: %{pcp_gr} +URL: https://pcp.io +Requires: pcp = %{version}-%{release} +BuildRequires: libdrm-devel - - -# end pcp-pmda-weblog -# end C pmdas +%description pmda-amdgpu +This package contains the PCP Performance Metrics Domain Agent (PMDA) for +extracting performance metrics from AMDGPU devices. %package zeroconf %if !%{disable_noarch} @@ -2666,9 +2256,7 @@ those written by sysstat. %if !%{disable_python3} -# -# python3-pcp. This is the PCP library bindings for python3. -# + %package -n python3-pcp Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation License: %{license_gplv2plus} @@ -2690,9 +2278,7 @@ %endif %if !%{disable_python3} -# -# pcp-system-tools -# + %package system-tools Summary: Performance Co-Pilot (PCP) System and Monitoring Tools License: %{license_gplv2plus} @@ -2707,12 +2293,9 @@ This PCP module contains additional system monitoring tools written in python. %endif -#end pcp-system-tools %if !%{disable_qt} -# -# pcp-gui package for Qt tools -# + %package gui Summary: Visualization tools for the Performance Co-Pilot toolkit License: %{license_gplv2plus} AND %{license_lgplv2plus} @@ -2733,9 +2316,6 @@ (PCP) sources. %endif -# -# pcp-doc package -# %package doc %if !%{disable_noarch} BuildArch: noarch @@ -2760,9 +2340,6 @@ and other detailed documentation about the internals of core PCP utilities and daemons, and the PCP graphical tools. -# -# pcp-selinux package -# %if !%{disable_selinux} %package selinux Summary: Selinux policy package @@ -2770,6 +2347,7 @@ Group: Applications/System URL: https://pcp.io BuildRequires: selinux-policy-devel +%{?selinux_requires} %if 0%{?rhel} == 5 BuildRequires: setools %else @@ -3276,6 +2854,7 @@ %{_datadir}/pcp/htop/columns/delayacct %{_datadir}/pcp/htop/columns/fdcount %{_datadir}/pcp/htop/columns/guest +%{_datadir}/pcp/htop/columns/gpu_memory %{_datadir}/pcp/htop/columns/memory %{_datadir}/pcp/htop/columns/sched %{_datadir}/pcp/htop/columns/swap @@ -3284,6 +2863,7 @@ %{_datadir}/pcp/htop/columns/wchan %{_datadir}/pcp/htop/meters/entropy %{_datadir}/pcp/htop/meters/freespace +%{_datadir}/pcp/htop/meters/gpu %{_datadir}/pcp/htop/meters/ipc %{_datadir}/pcp/htop/meters/locks %{_datadir}/pcp/htop/meters/memcache @@ -3619,22 +3199,30 @@ %files testsuite %{_testsdir} +%if !%{disable_perl} %files import-sar2pcp %{_bindir}/sar2pcp +%endif +%if !%{disable_perl} %files import-iostat2pcp %{_bindir}/iostat2pcp +%endif %if !%{disable_sheet2pcp} %files import-sheet2pcp %{_bindir}/sheet2pcp %endif +%if !%{disable_perl} %files import-mrtg2pcp %{_bindir}/mrtg2pcp +%endif +%if !%{disable_perl} %files import-ganglia2pcp %{_bindir}/ganglia2pcp +%endif %files import-collectl2pcp %{_bindir}/collectl2pcp @@ -3668,25 +3256,35 @@ %{_pmdasexecdir}/infiniband %endif +%if !%{disable_perl} %files pmda-activemq %{_pmdasdir}/activemq %{_pmdasexecdir}/activemq +%endif +%if !%{disable_perl} %files pmda-bonding %{_pmdasdir}/bonding %{_pmdasexecdir}/bonding +%endif +%if !%{disable_perl} %files pmda-dbping %{_pmdasdir}/dbping %{_pmdasexecdir}/dbping +%endif +%if !%{disable_perl} %files pmda-ds389log %{_pmdasdir}/ds389log %{_pmdasexecdir}/ds389log +%endif +%if !%{disable_perl} %files pmda-ds389 %{_pmdasdir}/ds389 %{_pmdasexecdir}/ds389 +%endif %files pmda-elasticsearch %dir %{_confdir}/elasticsearch @@ -3704,13 +3302,17 @@ %{_pmdasdir}/rabbitmq %{_pmdasexecdir}/rabbitmq +%if !%{disable_perl} %files pmda-gpfs %{_pmdasdir}/gpfs %{_pmdasexecdir}/gpfs +%endif +%if !%{disable_perl} %files pmda-gpsd %{_pmdasdir}/gpsd %{_pmdasexecdir}/gpsd +%endif %files pmda-docker %{_pmdasdir}/docker @@ -3727,39 +3329,53 @@ %{_pmdasexecdir}/openmetrics %config(noreplace) %{_confdir}/openmetrics +%if !%{disable_perl} %files pmda-lustre %{_pmdasdir}/lustre %{_pmdasexecdir}/lustre %config(noreplace) %{_confdir}/lustre +%endif %files pmda-lustrecomm %{_pmdasdir}/lustrecomm %{_pmdasexecdir}/lustrecomm +%if !%{disable_perl} %files pmda-memcache %{_pmdasdir}/memcache %{_pmdasexecdir}/memcache +%endif +%if !%{disable_perl} %files pmda-mysql %{_pmdasdir}/mysql %{_pmdasexecdir}/mysql +%endif +%if !%{disable_perl} %files pmda-named %{_pmdasdir}/named %{_pmdasexecdir}/named +%endif +%if !%{disable_perl} %files pmda-netfilter %{_pmdasdir}/netfilter %{_pmdasexecdir}/netfilter +%endif +%if !%{disable_perl} %files pmda-news %{_pmdasdir}/news %{_pmdasexecdir}/news +%endif +%if !%{disable_perl} %files pmda-nginx %{_pmdasdir}/nginx %{_pmdasexecdir}/nginx %config(noreplace) %{_confdir}/nginx +%endif %files pmda-nfsclient %{_pmdasdir}/nfsclient @@ -3772,18 +3388,24 @@ %config(noreplace) %{_confdir}/nutcracker %endif +%if !%{disable_perl} %files pmda-oracle %{_pmdasdir}/oracle %{_pmdasexecdir}/oracle %config(noreplace) %{_confdir}/oracle +%endif +%if !%{disable_perl} %files pmda-pdns %{_pmdasdir}/pdns %{_pmdasexecdir}/pdns +%endif +%if !%{disable_perl} %files pmda-postfix %{_pmdasdir}/postfix %{_pmdasexecdir}/postfix +%endif %if !%{disable_postgresql} %files pmda-postgresql @@ -3793,19 +3415,25 @@ %config(noreplace) %{_confdir}/postgresql/pmdapostgresql.conf %endif +%if !%{disable_perl} %files pmda-redis %dir %{_confdir}/redis %config(noreplace) %{_confdir}/redis/redis.conf %{_pmdasdir}/redis %{_pmdasexecdir}/redis +%endif +%if !%{disable_perl} %files pmda-rsyslog %{_pmdasdir}/rsyslog %{_pmdasexecdir}/rsyslog +%endif +%if !%{disable_perl} %files pmda-samba %{_pmdasdir}/samba %{_pmdasexecdir}/samba +%endif %if !%{disable_snmp} %files pmda-snmp @@ -3815,13 +3443,17 @@ %{_pmdasexecdir}/snmp %endif +%if !%{disable_perl} %files pmda-slurm %{_pmdasdir}/slurm %{_pmdasexecdir}/slurm +%endif +%if !%{disable_perl} %files pmda-zimbra %{_pmdasdir}/zimbra %{_pmdasexecdir}/zimbra +%endif %files pmda-dm %{_pmdasdir}/dm @@ -3980,6 +3612,10 @@ %{_pmdasdir}/apache %{_pmdasexecdir}/apache +%files pmda-amdgpu +%{_pmdasdir}/amdgpu +%{_pmdasexecdir}/amdgpu + %files pmda-bash %{_pmdasdir}/bash %{_pmdasexecdir}/bash @@ -4057,6 +3693,7 @@ %{_pmdasdir}/weblog %{_pmdasexecdir}/weblog +%if !%{disable_perl} %files -n perl-PCP-PMDA -f perl-pcp-pmda.list %if 0%{?suse_version} %dir %{_prefix}/lib/perl5/vendor_perl/*/*-linux-thread-multi*/PCP @@ -4082,6 +3719,7 @@ %if 0%{?suse_version} %dir %{_prefix}/lib/perl5/vendor_perl/*/PCP %endif +%endif %if !%{disable_python3} %files -n python3-pcp -f python3-pcp.list.rpm ++++++ 0001-Install-libraries-without-exec-permission.patch ++++++ --- /var/tmp/diff_new_pack.5Zw5Mb/_old 2026-05-06 19:17:43.892675443 +0200 +++ /var/tmp/diff_new_pack.5Zw5Mb/_new 2026-05-06 19:17:43.920676597 +0200 @@ -36,10 +36,10 @@ src/zabbix-agent/src/GNUmakefile | 2 +- 29 files changed, 55 insertions(+), 56 deletions(-) -Index: pcp-6.2.0/src/genpmda/genpmda +Index: pcp-6.3.7/src/genpmda/genpmda =================================================================== ---- pcp-6.2.0.orig/src/genpmda/genpmda -+++ pcp-6.2.0/src/genpmda/genpmda +--- pcp-6.3.7.orig/src/genpmda/genpmda ++++ pcp-6.3.7/src/genpmda/genpmda @@ -899,7 +899,7 @@ install: default \$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas \$(INSTALL) -m 755 -d \$(PMDADIR) @@ -58,20 +58,11 @@ \$(INSTALL) -m 755 -f $oflag/Install \$(PMDADIR)/Install \$(INSTALL) -m 755 -f $oflag/Remove \$(PMDADIR)/Remove \$(INSTALL) -m 644 -f $oflag/Makefile.install \$(PMDADIR)/Makefile -Index: pcp-6.2.0/src/libpcp/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp/src/GNUmakefile -@@ -142,7 +142,7 @@ endif - - install : default - ifneq ($(LIBTARGET),) -- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET) -+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET) - $(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG) - endif - ifneq ($(SYMTARGET),) -@@ -151,7 +151,7 @@ ifneq ($(SYMTARGET),) +--- pcp-6.3.7.orig/src/libpcp/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp/src/GNUmakefile +@@ -155,7 +155,7 @@ ifneq ($(SYMTARGET),) done endif ifneq ($(STATICLIBTARGET),) @@ -80,10 +71,10 @@ endif $(XFILES): -Index: pcp-6.2.0/src/libpcp_fault/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_fault/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_fault/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_fault/src/GNUmakefile +--- pcp-6.3.7.orig/src/libpcp_fault/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_fault/src/GNUmakefile @@ -147,7 +147,7 @@ derive_parser.y: derive_parser.y.in fix_ install : default @@ -102,10 +93,10 @@ endif $(INSTALL) -m 644 $(TOPDIR)/src/include/pcp/fault.h $(PCP_INC_DIR)/fault.h -Index: pcp-6.2.0/src/libpcp_gui/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_gui/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_gui/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_gui/src/GNUmakefile +--- pcp-6.3.7.orig/src/libpcp_gui/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_gui/src/GNUmakefile @@ -54,7 +54,7 @@ include $(BUILDRULES) install: default @@ -124,20 +115,11 @@ endif default_pcp: default -Index: pcp-6.2.0/src/libpcp_import/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_import/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_import/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_import/src/GNUmakefile -@@ -54,7 +54,7 @@ include $(BUILDRULES) - - install: default - ifneq ($(LIBTARGET),) -- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET) -+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET) - $(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG) - endif - ifneq ($(SYMTARGET),) -@@ -63,7 +63,7 @@ ifneq ($(SYMTARGET),) +--- pcp-6.3.7.orig/src/libpcp_import/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_import/src/GNUmakefile +@@ -67,7 +67,7 @@ ifneq ($(SYMTARGET),) done endif ifneq ($(STATICLIBTARGET),) @@ -146,10 +128,10 @@ endif default_pcp: default -Index: pcp-6.2.0/src/libpcp_mmv/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_mmv/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_mmv/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_mmv/src/GNUmakefile +--- pcp-6.3.7.orig/src/libpcp_mmv/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_mmv/src/GNUmakefile @@ -47,7 +47,7 @@ include $(BUILDRULES) install: default @@ -168,10 +150,10 @@ endif default_pcp: default -Index: pcp-6.2.0/src/libpcp_pmcd/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_pmcd/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_pmcd/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_pmcd/src/GNUmakefile +--- pcp-6.3.7.orig/src/libpcp_pmcd/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_pmcd/src/GNUmakefile @@ -69,7 +69,7 @@ include $(BUILDRULES) install : default @@ -181,20 +163,11 @@ endif ifeq "$(ENABLE_PROBES)" "true" -Index: pcp-6.2.0/src/libpcp_pmda/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_pmda/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_pmda/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_pmda/src/GNUmakefile -@@ -64,7 +64,7 @@ include $(BUILDRULES) - - install: default - ifneq ($(LIBTARGET),) -- $(INSTALL) -m 755 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET) -+ $(INSTALL) -m 644 $(LIBTARGET) $(PCP_LIB_DIR)/$(LIBTARGET) - $(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG) - endif - ifneq ($(SYMTARGET),) -@@ -73,7 +73,7 @@ ifneq ($(SYMTARGET),) +--- pcp-6.3.7.orig/src/libpcp_pmda/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_pmda/src/GNUmakefile +@@ -77,7 +77,7 @@ ifneq ($(SYMTARGET),) done endif ifneq ($(STATICLIBTARGET),) @@ -203,10 +176,10 @@ endif $(XFILES): -Index: pcp-6.2.0/src/libpcp_trace/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_trace/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_trace/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_trace/src/GNUmakefile +--- pcp-6.3.7.orig/src/libpcp_trace/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_trace/src/GNUmakefile @@ -56,13 +56,13 @@ include $(BUILDRULES) install : default @@ -223,11 +196,11 @@ endif default_pcp : default -Index: pcp-6.2.0/src/libpcp_web/src/GNUmakefile +Index: pcp-6.3.7/src/libpcp_web/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/libpcp_web/src/GNUmakefile -+++ pcp-6.2.0/src/libpcp_web/src/GNUmakefile -@@ -111,7 +111,7 @@ endif +--- pcp-6.3.7.orig/src/libpcp_web/src/GNUmakefile ++++ pcp-6.3.7/src/libpcp_web/src/GNUmakefile +@@ -130,7 +130,7 @@ endif install: default $(INSTALL) -m 644 -t $(REWRITEVARDIR)/pmproxy_fixups.conf logrewrite.conf $(REWRITEDIR)/pmproxy_fixups.conf ifneq ($(LIBTARGET),) @@ -236,7 +209,7 @@ endif ifneq ($(SYMTARGET),) for tt in $(SYMTARGET); do \ -@@ -119,7 +119,7 @@ ifneq ($(SYMTARGET),) +@@ -138,7 +138,7 @@ ifneq ($(SYMTARGET),) done endif ifneq ($(STATICLIBTARGET),) @@ -245,10 +218,10 @@ endif $(XFILES): -Index: pcp-6.2.0/src/pmdas/cifs/GNUmakefile +Index: pcp-6.3.7/src/pmdas/cifs/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/cifs/GNUmakefile -+++ pcp-6.2.0/src/pmdas/cifs/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/cifs/GNUmakefile ++++ pcp-6.3.7/src/pmdas/cifs/GNUmakefile @@ -44,8 +44,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -260,10 +233,10 @@ @$(INSTALL_MAN) else build-me: -Index: pcp-6.2.0/src/pmdas/docker/GNUmakefile +Index: pcp-6.3.7/src/pmdas/docker/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/docker/GNUmakefile -+++ pcp-6.2.0/src/pmdas/docker/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/docker/GNUmakefile ++++ pcp-6.3.7/src/pmdas/docker/GNUmakefile @@ -45,8 +45,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) install_pcp install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -275,10 +248,10 @@ @$(INSTALL_MAN) else build-me: -Index: pcp-6.2.0/src/pmdas/hacluster/GNUmakefile +Index: pcp-6.3.7/src/pmdas/hacluster/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/hacluster/GNUmakefile -+++ pcp-6.2.0/src/pmdas/hacluster/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/hacluster/GNUmakefile ++++ pcp-6.3.7/src/pmdas/hacluster/GNUmakefile @@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -290,10 +263,10 @@ @$(INSTALL_MAN) else build-me: -Index: pcp-6.2.0/src/pmdas/jbd2/GNUmakefile +Index: pcp-6.3.7/src/pmdas/jbd2/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/jbd2/GNUmakefile -+++ pcp-6.2.0/src/pmdas/jbd2/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/jbd2/GNUmakefile ++++ pcp-6.3.7/src/pmdas/jbd2/GNUmakefile @@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -305,10 +278,10 @@ $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_jbd2 root_jbd2 $(PCP_PMNSADM_DIR)/root_jbd2 $(INSTALL) -m 644 -t $(REWRITEVARDIR)/jbd2_kernel_ulong.conf jbd2_kernel_ulong.conf $(REWRITEDIR)/jbd2_kernel_ulong.conf @$(INSTALL_MAN) -Index: pcp-6.2.0/src/pmdas/kvm/GNUmakefile +Index: pcp-6.3.7/src/pmdas/kvm/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/kvm/GNUmakefile -+++ pcp-6.2.0/src/pmdas/kvm/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/kvm/GNUmakefile ++++ pcp-6.3.7/src/pmdas/kvm/GNUmakefile @@ -57,10 +57,10 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -322,10 +295,10 @@ $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_kvm root_kvm $(PCP_PMNSADM_DIR)/root_kvm $(INSTALL) -m 644 -t $(REWRITEVARDIR)/kvm_fixups.conf kvm_fixups.conf $(REWRITEDIR)/kvm_fixups.conf @$(INSTALL_MAN) -Index: pcp-6.2.0/src/pmdas/linux/GNUmakefile +Index: pcp-6.3.7/src/pmdas/linux/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/linux/GNUmakefile -+++ pcp-6.2.0/src/pmdas/linux/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/linux/GNUmakefile ++++ pcp-6.3.7/src/pmdas/linux/GNUmakefile @@ -89,11 +89,11 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -340,27 +313,10 @@ $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_linux root_linux $(PCP_PMNSADM_DIR)/root_linux $(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_proc_fs_nfsd_fixups.conf proc_fs_nfsd_fixups.conf $(REWRITEDIR)/linux_proc_fs_nfsd_fixups.conf $(INSTALL) -m 644 -t $(REWRITEVARDIR)/linux_proc_net_snmp_migrate.conf proc_net_snmp_migrate.conf $(REWRITEDIR)/linux_proc_net_snmp_migrate.conf -Index: pcp-6.2.0/src/pmdas/linux_proc/GNUmakefile -=================================================================== ---- pcp-6.2.0.orig/src/pmdas/linux_proc/GNUmakefile -+++ pcp-6.2.0/src/pmdas/linux_proc/GNUmakefile -@@ -73,10 +73,10 @@ build-me: root_proc $(LIBTARGET) $(CMDTA - install: default - $(INSTALL) -m 755 -d $(PMDAADMDIR) - $(INSTALL) -m 755 -d $(PMDATMPDIR) -- $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_proc $(PMDAADMDIR) -+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_proc $(LIBTARGET) $(PMDAADMDIR) - $(INSTALL) -m 755 -d $(PMDACONFIG) - $(INSTALL) -m 644 -t $(PMDATMPDIR)/samplehotproc.conf samplehotproc.conf $(PMDACONFIG)/samplehotproc.conf -- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR) -+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR) - $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_proc root_proc $(PCP_PMNSADM_DIR)/root_proc - $(INSTALL) -m 644 -t $(REWRITEVARDIR) $(LOGREWRITERS) $(REWRITEDIR) - @$(INSTALL_MAN) -Index: pcp-6.2.0/src/pmdas/linux_xfs/GNUmakefile +Index: pcp-6.3.7/src/pmdas/linux_xfs/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/linux_xfs/GNUmakefile -+++ pcp-6.2.0/src/pmdas/linux_xfs/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/linux_xfs/GNUmakefile ++++ pcp-6.3.7/src/pmdas/linux_xfs/GNUmakefile @@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -372,10 +328,10 @@ $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_xfs root_xfs $(PCP_PMNSADM_DIR)/root_xfs $(INSTALL) -m 644 -t $(REWRITEVARDIR) linux_xfs_migrate.conf linux_xfs_perdev_buffer.conf $(REWRITEDIR) @$(INSTALL_MAN) -Index: pcp-6.2.0/src/pmdas/nvidia/GNUmakefile +Index: pcp-6.3.7/src/pmdas/nvidia/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/nvidia/GNUmakefile -+++ pcp-6.2.0/src/pmdas/nvidia/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/nvidia/GNUmakefile ++++ pcp-6.3.7/src/pmdas/nvidia/GNUmakefile @@ -37,9 +37,8 @@ include $(BUILDRULES) install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -388,10 +344,10 @@ $(OBJECTS): domain.h -Index: pcp-6.2.0/src/pmdas/pmcd/src/GNUmakefile +Index: pcp-6.3.7/src/pmdas/pmcd/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/pmcd/src/GNUmakefile -+++ pcp-6.2.0/src/pmdas/pmcd/src/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/pmcd/src/GNUmakefile ++++ pcp-6.3.7/src/pmdas/pmcd/src/GNUmakefile @@ -59,7 +59,7 @@ default: $(LIBTARGET) install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -401,10 +357,10 @@ include $(BUILDRULES) -Index: pcp-6.2.0/src/pmdas/smart/GNUmakefile +Index: pcp-6.3.7/src/pmdas/smart/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/smart/GNUmakefile -+++ pcp-6.2.0/src/pmdas/smart/GNUmakefile +--- pcp-6.3.7.orig/src/pmdas/smart/GNUmakefile ++++ pcp-6.3.7/src/pmdas/smart/GNUmakefile @@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) @@ -416,11 +372,11 @@ @$(INSTALL_MAN) else build-me: -Index: pcp-6.2.0/src/pmdas/statsd/src/GNUmakefile +Index: pcp-6.3.7/src/pmdas/statsd/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/pmdas/statsd/src/GNUmakefile -+++ pcp-6.2.0/src/pmdas/statsd/src/GNUmakefile -@@ -68,8 +68,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET) +--- pcp-6.3.7.orig/src/pmdas/statsd/src/GNUmakefile ++++ pcp-6.3.7/src/pmdas/statsd/src/GNUmakefile +@@ -71,8 +71,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET) install: default $(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR) @@ -431,10 +387,10 @@ CFILES += $(RFILES) -Index: pcp-6.2.0/src/zabbix-agent/src/GNUmakefile +Index: pcp-6.3.7/src/zabbix-agent/src/GNUmakefile =================================================================== ---- pcp-6.2.0.orig/src/zabbix-agent/src/GNUmakefile -+++ pcp-6.2.0/src/zabbix-agent/src/GNUmakefile +--- pcp-6.3.7.orig/src/zabbix-agent/src/GNUmakefile ++++ pcp-6.3.7/src/zabbix-agent/src/GNUmakefile @@ -43,7 +43,7 @@ install: default $(INSTALL) -m 755 -d $(ZABBIX_DIR) $(INSTALL) -m 755 -d $(MODULE_DIR) ++++++ 0001-selinux-add-permissions-allowing-proc_psi_t-access.patch ++++++ >From 7047f77ccaa84e9af356b9918395a4057af23933 Mon Sep 17 00:00:00 2001 From: Nathan Scott <[email protected]> Date: Mon, 14 Apr 2025 11:58:41 +1000 Subject: [PATCH] selinux: add permissions allowing proc_psi_t access Access to /proc/pressure recently became selinux policy protected so we need to allow pcp_pmcd_t to access that as it contains important system level metrics. Resolves Red Hat bugzilla #2358326. --- src/selinux/pcp.if | 20 ++++++++++++++++++++ src/selinux/pcp.te | 1 + 2 files changed, 21 insertions(+) diff --git a/src/selinux/pcp.if b/src/selinux/pcp.if index 3ce68c203..0297185c6 100644 --- a/src/selinux/pcp.if +++ b/src/selinux/pcp.if @@ -535,3 +535,23 @@ ifndef(`userdom_manage_tmp_files',` ') ') ') + +######################################## +## <summary> +## Dummy kernel_read_psi(). +## Allow caller to set up pressure stall information (PSI), +## but if you don't have actual kernel_read_psi() interface +## nothing needs to be done. +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </summary> +# +ifndef(`kernel_read_psi',` + interface(`kernel_read_psi',` + gen_require(` + type $1; + ') + ') +') diff --git a/src/selinux/pcp.te b/src/selinux/pcp.te index 9ad27c5c9..a30144950 100644 --- a/src/selinux/pcp.te +++ b/src/selinux/pcp.te @@ -123,6 +123,7 @@ kernel_read_vm_sysctls(pcp_pmcd_t) kernel_read_rpc_sysctls(pcp_pmcd_t) kernel_search_network_sysctl(pcp_pmcd_t) kernel_read_net_sysctls(pcp_pmcd_t) +kernel_read_psi(pcp_pmcd_t) corecmd_exec_bin(pcp_pmcd_t) corecmd_exec_shell(pcp_pmcd_t) -- 2.49.0 ++++++ 0008-selinux-additional-labeling-rules.patch ++++++ Index: pcp-6.3.7/src/selinux/pcp.fc =================================================================== --- pcp-6.3.7.orig/src/selinux/pcp.fc +++ pcp-6.3.7/src/selinux/pcp.fc @@ -15,6 +15,7 @@ /usr/libexec/pcp/lib/pmcd -- gen_context(system_u:object_r:pcp_pmcd_initrc_exec_t,s0) /usr/libexec/pcp/lib/pmlogger -- gen_context(system_u:object_r:pcp_pmlogger_initrc_exec_t,s0) +/etc/pcp/pmlogger/rc -- gen_context(system_u:object_r:pcp_pmlogger_initrc_exec_t,s0) /usr/libexec/pcp/lib/pmproxy -- gen_context(system_u:object_r:pcp_pmproxy_initrc_exec_t,s0) /usr/libexec/pcp/lib/pmie -- gen_context(system_u:object_r:pcp_pmie_initrc_exec_t,s0) ++++++ pcp-6.2.1.tar.gz -> pcp-6.3.8.tar.gz ++++++ /work/SRC/openSUSE:Factory/pcp/pcp-6.2.1.tar.gz /work/SRC/openSUSE:Factory/.pcp.new.30200/pcp-6.3.8.tar.gz differ: char 12, line 1 ++++++ pcp-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.5Zw5Mb/_old 2026-05-06 19:17:44.048681872 +0200 +++ /var/tmp/diff_new_pack.5Zw5Mb/_new 2026-05-06 19:17:44.052682037 +0200 @@ -13,4 +13,7 @@ addFilter('pcp-testsuite.*W: potential-bashisms'); # pcp-testsuite.x86_64: E: env-script-interpreter addFilter('pcp-testsuite.*E: env-script-interpreter'); +# perl modules may be reported as defining rpath, but they don't +# this has been double-checked +addFilter('perl.*E: binary-or-shlib-defines-rpath')
