Recommended update for pcp

Announcement ID: SUSE-RU-2023:0665-1
Rating: moderate
References:
Affected Products:
  • Development Tools Module 15-SP4
  • openSUSE Leap 15.4
  • SUSE Linux Enterprise Desktop 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3

An update that has three fixes can now be installed.

Description:

This update for pcp fixes the following issues:

  • Workaround intermittent build-time package preun failures by dropping PMDA Remove script invocation (bsc#1197796)
  • Adjust systemd service types and remove deprecated KillMode=none (bsc#1186511)

  • Upgrade to 5.2.5

  • Client tools and utilities:
  • pcp-dstat: correct the sample count logic, was off-by-one
  • pcp-dstat: fix csv output with timestamps (no special chars)

  • PMDA additions, enhancements and bug fixes:

  • pmdazfs: new Linux ZFS metrics
  • pmdasockets: new Linux ss(1) metrics
  • pmdahacluster: new HA metrics (Pacemaker, Corosync, DRBD and SBD)
  • pmdabcc: netproc module: count kernel calls, not packets
  • pmdalinux: add hinv.cpu.thermal_throttle metrics
  • pmdalinux: add missing help text for new metrics, drop dups

  • Server-side utilities and log management scripts:

  • pmproxy: fix quoting of /series/metrics matched names
  • pmlogger: fix permissions mismatch for pmlogger tmp dir
  • pmlogger: fix incorrect reporting of pmcd state changes
  • pmie_check: explicity set a umask appropriate for pmieconf
  • pmlogger_check: explicity set a umask appropriate for pmlogconf
  • pmlogger_check: skip .NeedRewrite processing with -K
  • pmpost: increase timestamp resolution
  • pmpost: fix NOTICES file ownership changes
  • rc scripts: add optional logging
  • systemd: remove Wants=pmcd from pmlogger and pmie

  • libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings

  • libpcp: redo the interp.c time_caliper changes
  • libpcp_web: add timer driven webgroup garbage collector
  • libpcp_pmda: add new function pmdaCachePurgeCallback

  • Misc build, infrastructure and packaging updates:

  • libpcp_web: fix minor memory leak on an error path (covscan)
  • build: fixes to ensure PCP_TMPFILE_DIR not used during the build

  • Security Enhanced Linux:

  • selinux: enable netcheck rawip_socket if icmp_socket unavailable
  • selinux: additional rules needed for pmie/pmlogger in fedora
  • Documentation and QA infrastructure:
  • docs: add pointers to readthedocs.io now that books live there
  • pcp-dstat: optionally install a man page symlink for dstat
  • docs: pmproxy(1) man page corrections and additions

  • Upgrade to 5.2.3

  • Client tools and utilities:
  • pcp-htop: minimal version of htop with PCP backend platform
  • pcp-atop: add per-process network statistics
  • pcp-atop: result instance indexing performance optimization
  • pcp-atop: always restore original state of process accounting
  • pcp2elasticsearch: add guard around maximum long integer size
  • pmlogsummary: fix indom lookup for dynamic instance domains
  • pmseries: provide sum() and avg() query functions
  • pmseries: persist canonical query expressions to Redis
  • pmseries: fix HMSET calls when querying timeseries expression
  • pmseries: fix for failing queries with disjuncted qualifiers
  • pmseries: fix segfault in func call with globbed metric.name

  • Server-side utilities and log management scripts:

  • pmproxy: support fabricated SIDs in /series/instances requests
  • pmproxy: support fabricated SIDs in /series/metrics requests
  • pmlogger_check: add pmlc connection timeout checking current volume
  • pmlogctl,pmiectl: ignore saved control files after an upgrade
  • pmlogconf: add missing mssql template header
  • pmlogconf: add logger configuration files for the htop command
  • pmieconf: add a rule to detect and report OOM kills
  • pmieconf: cleanup old, no-longer-used tool integrations
  • pmieconf: ensure all automated invocations use the -c switch
  • pmieconf: fix default generated config file path
  • pmie_check: remove a tempfile once finished with it

  • PMDA additions, enhancements and bug fixes:

  • pmdaapache: fix buffer size to allow for multiple reads of the stream
  • pmdabcc: added new netproc module with per-process network metrics
  • pmdaproc: allow to use acct.control.enable_acct as reference counting
  • pmdalinux: added network.all.* metrics for physical interfaces
  • pmdalinux: fix case of waitio counters from /proc/stat going backwards
  • pmdalinux: minor tweaks to use integer math over floating point
  • dbpmda: send inst profile prior to instances level label requests

  • libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings

  • libpcp: performance improvements for archives with dynamic indoms
  • libpcp: send instance profile for instances level labels requests
  • libpcp: make pmLookupName take a (const char **) namelist
  • libpcp_web: set pmseries source to all-zeroes for expressions
  • libpcp_web: handle fabricated SIDs in /series/values REST API
  • python api: fix fetchgroup max_insts size with multiple indoms
  • Misc build, infrastructure and packaging updates:

  • Security Enhanced Linux:

  • selinux: use matching autoconf guard for rawip_socket class

  • Documentation and QA infrastructure:

  • docs: update pmdabpftrace man page and README
  • docs: improvements in diagrams
  • docs: theme_overrides.css added for readthedocs content
  • docs: pmseries(1) chapter added in Users and Administrators Guide
  • docs: add quotes to curl calls with * in pmwebapi query strings
  • docs: update pmseries schema to describe expression keys

  • Fix a few rpmlint errors (to at least get below the 1000 mark)(bsc#1199558):

  • make libpcp-devel require libpcp_gui: the devel package installs a symlink pointing to that library, so anything willing to link it would fail
  • Call fdupes over /var/lib/pcp/testsuite
  • W: macro-in-comment: escape the relevant macros using %%
  • Filter out W: potential-bashisms for pcp-testsuite.

  • Own %{_datadir}/zsh and %{_datadir}/zsh/site-functions: we have no guaranteed owner of these directories in the buildroot.

  • Remove sysconfig dependencies, this is not the equivalent of the initscripts package and completly unneeded here;

  • Add missing hostname requires;

  • also buildrequire pkgconfig(systemd) to make sure configure detects systemd

  • Replace ancient RPM variables by modern equivalents.

  • Drop support for ancient SUSE and ancient Fedora.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2023-665=1
  • Development Tools Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP4-2023-665=1

Package List:

  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
    • pcp-pmda-roomtemp-5.2.5-150400.5.3.11
    • pcp-pmda-mic-5.2.5-150400.5.3.11
    • pcp-export-pcp2xml-5.2.5-150400.5.3.11
    • libpcp-devel-5.2.5-150400.5.3.11
    • pcp-system-tools-5.2.5-150400.5.3.11
    • libpcp_web1-5.2.5-150400.5.3.11
    • pcp-import-ganglia2pcp-5.2.5-150400.5.3.11
    • pcp-pmda-snmp-5.2.5-150400.5.3.11
    • pcp-pmda-ds389log-5.2.5-150400.5.3.11
    • pcp-conf-5.2.5-150400.5.3.11
    • pcp-pmda-mounts-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-systemd-5.2.5-150400.5.3.11
    • pcp-import-sar2pcp-5.2.5-150400.5.3.11
    • pcp-pmda-docker-5.2.5-150400.5.3.11
    • pcp-pmda-lmsensors-5.2.5-150400.5.3.11
    • pcp-pmda-bind2-5.2.5-150400.5.3.11
    • pcp-export-pcp2spark-5.2.5-150400.5.3.11
    • pcp-pmda-rpm-5.2.5-150400.5.3.11
    • pcp-pmda-news-5.2.5-150400.5.3.11
    • pcp-pmda-gpfs-5.2.5-150400.5.3.11
    • pcp-pmda-gfs2-5.2.5-150400.5.3.11
    • pcp-pmda-elasticsearch-5.2.5-150400.5.3.11
    • pcp-pmda-vmware-5.2.5-150400.5.3.11
    • pcp-pmda-bonding-5.2.5-150400.5.3.11
    • pcp-pmda-mailq-debuginfo-5.2.5-150400.5.3.11
    • libpcp_gui2-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-weblog-5.2.5-150400.5.3.11
    • pcp-pmda-redis-5.2.5-150400.5.3.11
    • pcp-pmda-oracle-5.2.5-150400.5.3.11
    • pcp-pmda-mounts-5.2.5-150400.5.3.11
    • pcp-pmda-sendmail-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-zswap-5.2.5-150400.5.3.11
    • libpcp3-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-dm-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-docker-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-nvidia-gpu-5.2.5-150400.5.3.11
    • pcp-pmda-zimbra-5.2.5-150400.5.3.11
    • pcp-pmda-unbound-5.2.5-150400.5.3.11
    • pcp-devel-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-mysql-5.2.5-150400.5.3.11
    • pcp-pmda-logger-5.2.5-150400.5.3.11
    • pcp-pmda-named-5.2.5-150400.5.3.11
    • pcp-gui-5.2.5-150400.5.3.11
    • pcp-pmda-apache-5.2.5-150400.5.3.11
    • perl-PCP-PMDA-5.2.5-150400.5.3.11
    • pcp-5.2.5-150400.5.3.11
    • libpcp_import1-debuginfo-5.2.5-150400.5.3.11
    • perl-PCP-PMDA-debuginfo-5.2.5-150400.5.3.11
    • pcp-export-pcp2zabbix-5.2.5-150400.5.3.11
    • perl-PCP-LogSummary-5.2.5-150400.5.3.11
    • pcp-pmda-bash-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-mailq-5.2.5-150400.5.3.11
    • pcp-debugsource-5.2.5-150400.5.3.11
    • pcp-pmda-ds389-5.2.5-150400.5.3.11
    • pcp-zeroconf-5.2.5-150400.5.3.11
    • pcp-pmda-nginx-5.2.5-150400.5.3.11
    • pcp-testsuite-5.2.5-150400.5.3.11
    • pcp-pmda-gpsd-5.2.5-150400.5.3.11
    • libpcp_mmv1-5.2.5-150400.5.3.11
    • libpcp_trace2-5.2.5-150400.5.3.11
    • pcp-pmda-trace-5.2.5-150400.5.3.11
    • pcp-pmda-slurm-5.2.5-150400.5.3.11
    • pcp-devel-5.2.5-150400.5.3.11
    • pcp-import-mrtg2pcp-5.2.5-150400.5.3.11
    • pcp-pmda-cisco-debuginfo-5.2.5-150400.5.3.11
    • libpcp3-5.2.5-150400.5.3.11
    • pcp-import-collectl2pcp-5.2.5-150400.5.3.11
    • perl-PCP-MMV-debuginfo-5.2.5-150400.5.3.11
    • pcp-export-pcp2influxdb-5.2.5-150400.5.3.11
    • pcp-pmda-json-5.2.5-150400.5.3.11
    • pcp-system-tools-debuginfo-5.2.5-150400.5.3.11
    • libpcp_import1-5.2.5-150400.5.3.11
    • pcp-pmda-summary-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-roomtemp-debuginfo-5.2.5-150400.5.3.11
    • libpcp_mmv1-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-netfilter-5.2.5-150400.5.3.11
    • pcp-pmda-smart-5.2.5-150400.5.3.11
    • python3-pcp-debuginfo-5.2.5-150400.5.3.11
    • pcp-testsuite-debuginfo-5.2.5-150400.5.3.11
    • pcp-import-iostat2pcp-5.2.5-150400.5.3.11
    • libpcp_trace2-debuginfo-5.2.5-150400.5.3.11
    • pcp-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-haproxy-5.2.5-150400.5.3.11
    • pcp-export-pcp2elasticsearch-5.2.5-150400.5.3.11
    • pcp-pmda-summary-5.2.5-150400.5.3.11
    • pcp-pmda-postfix-5.2.5-150400.5.3.11
    • pcp-pmda-apache-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-trace-debuginfo-5.2.5-150400.5.3.11
    • perl-PCP-LogImport-5.2.5-150400.5.3.11
    • pcp-pmda-sendmail-5.2.5-150400.5.3.11
    • pcp-pmda-cifs-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-cisco-5.2.5-150400.5.3.11
    • pcp-pmda-lustrecomm-5.2.5-150400.5.3.11
    • pcp-pmda-smart-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-activemq-5.2.5-150400.5.3.11
    • pcp-pmda-systemd-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-nutcracker-5.2.5-150400.5.3.11
    • perl-PCP-LogImport-debuginfo-5.2.5-150400.5.3.11
    • pcp-gui-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-lustrecomm-debuginfo-5.2.5-150400.5.3.11
    • pcp-import-collectl2pcp-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-weblog-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-lustre-5.2.5-150400.5.3.11
    • pcp-pmda-rsyslog-5.2.5-150400.5.3.11
    • pcp-pmda-gluster-5.2.5-150400.5.3.11
    • pcp-pmda-logger-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-rpm-debuginfo-5.2.5-150400.5.3.11
    • pcp-export-pcp2json-5.2.5-150400.5.3.11
    • pcp-export-pcp2graphite-5.2.5-150400.5.3.11
    • pcp-pmda-memcache-5.2.5-150400.5.3.11
    • pcp-pmda-nfsclient-5.2.5-150400.5.3.11
    • pcp-pmda-shping-5.2.5-150400.5.3.11
    • pcp-pmda-samba-5.2.5-150400.5.3.11
    • python3-pcp-5.2.5-150400.5.3.11
    • pcp-pmda-cifs-5.2.5-150400.5.3.11
    • libpcp_gui2-5.2.5-150400.5.3.11
    • pcp-pmda-nvidia-gpu-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-bash-5.2.5-150400.5.3.11
    • pcp-pmda-shping-debuginfo-5.2.5-150400.5.3.11
    • perl-PCP-MMV-5.2.5-150400.5.3.11
    • pcp-pmda-dm-5.2.5-150400.5.3.11
    • pcp-pmda-gfs2-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-dbping-5.2.5-150400.5.3.11
    • libpcp_web1-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-pdns-5.2.5-150400.5.3.11
  • openSUSE Leap 15.4 (noarch)
    • pcp-doc-5.2.5-150400.5.3.11
  • openSUSE Leap 15.4 (aarch64 ppc64le x86_64)
    • pcp-pmda-perfevent-5.2.5-150400.5.3.11
    • pcp-pmda-infiniband-5.2.5-150400.5.3.11
    • pcp-pmda-perfevent-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-openvswitch-5.2.5-150400.5.3.11
    • pcp-pmda-openmetrics-5.2.5-150400.5.3.11
    • pcp-pmda-infiniband-debuginfo-5.2.5-150400.5.3.11
    • pcp-pmda-netcheck-5.2.5-150400.5.3.11
    • pcp-pmda-rabbitmq-5.2.5-150400.5.3.11
  • openSUSE Leap 15.4 (x86_64)
    • pcp-pmda-mssql-5.2.5-150400.5.3.11
  • Development Tools Module 15-SP4 (aarch64 ppc64le s390x x86_64)
    • libpcp_trace2-5.2.5-150400.5.3.11
    • libpcp-devel-5.2.5-150400.5.3.11
    • perl-PCP-LogImport-debuginfo-5.2.5-150400.5.3.11
    • pcp-system-tools-5.2.5-150400.5.3.11
    • pcp-devel-debuginfo-5.2.5-150400.5.3.11
    • libpcp_web1-5.2.5-150400.5.3.11
    • pcp-devel-5.2.5-150400.5.3.11
    • pcp-import-mrtg2pcp-5.2.5-150400.5.3.11
    • libpcp3-5.2.5-150400.5.3.11
    • perl-PCP-MMV-debuginfo-5.2.5-150400.5.3.11
    • pcp-system-tools-debuginfo-5.2.5-150400.5.3.11
    • perl-PCP-PMDA-5.2.5-150400.5.3.11
    • pcp-5.2.5-150400.5.3.11
    • libpcp_import1-debuginfo-5.2.5-150400.5.3.11
    • libpcp_import1-5.2.5-150400.5.3.11
    • perl-PCP-PMDA-debuginfo-5.2.5-150400.5.3.11
    • pcp-conf-5.2.5-150400.5.3.11
    • pcp-import-sar2pcp-5.2.5-150400.5.3.11
    • perl-PCP-LogSummary-5.2.5-150400.5.3.11
    • python3-pcp-5.2.5-150400.5.3.11
    • libpcp_mmv1-debuginfo-5.2.5-150400.5.3.11
    • python3-pcp-debuginfo-5.2.5-150400.5.3.11
    • pcp-debugsource-5.2.5-150400.5.3.11
    • pcp-import-iostat2pcp-5.2.5-150400.5.3.11
    • libpcp_trace2-debuginfo-5.2.5-150400.5.3.11
    • libpcp_gui2-5.2.5-150400.5.3.11
    • pcp-debuginfo-5.2.5-150400.5.3.11
    • perl-PCP-MMV-5.2.5-150400.5.3.11
    • libpcp_gui2-debuginfo-5.2.5-150400.5.3.11
    • libpcp3-debuginfo-5.2.5-150400.5.3.11
    • libpcp_web1-debuginfo-5.2.5-150400.5.3.11
    • libpcp_mmv1-5.2.5-150400.5.3.11
    • perl-PCP-LogImport-5.2.5-150400.5.3.11
  • Development Tools Module 15-SP4 (noarch)
    • pcp-doc-5.2.5-150400.5.3.11
  • Development Tools Module 15-SP4 (ppc64le)
    • pcp-pmda-perfevent-5.2.5-150400.5.3.11
    • pcp-pmda-perfevent-debuginfo-5.2.5-150400.5.3.11

References: