Sync from SUSE:SLFO:Main pcp revision 5b6906c236b98b702ae036a4054e5dbc

This commit is contained in:
Adrian Schröter 2024-07-03 10:53:56 +02:00
parent 15f229a10c
commit 8f90721eb1
9 changed files with 1411 additions and 544 deletions

View File

@ -36,10 +36,10 @@ Signed-off-by: David Disseldorp <ddiss@suse.de>
src/zabbix-agent/src/GNUmakefile | 2 +- src/zabbix-agent/src/GNUmakefile | 2 +-
29 files changed, 55 insertions(+), 56 deletions(-) 29 files changed, 55 insertions(+), 56 deletions(-)
Index: pcp-5.3.7/src/genpmda/genpmda Index: pcp-6.2.0/src/genpmda/genpmda
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/genpmda/genpmda --- pcp-6.2.0.orig/src/genpmda/genpmda
+++ pcp-5.3.7/src/genpmda/genpmda +++ pcp-6.2.0/src/genpmda/genpmda
@@ -899,7 +899,7 @@ install: default @@ -899,7 +899,7 @@ install: default
\$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas \$(INSTALL) -m 755 -d \$(PCP_VAR_DIR)/pmdas
\$(INSTALL) -m 755 -d \$(PMDADIR) \$(INSTALL) -m 755 -d \$(PMDADIR)
@ -58,11 +58,11 @@ Index: pcp-5.3.7/src/genpmda/genpmda
\$(INSTALL) -m 755 -f $oflag/Install \$(PMDADIR)/Install \$(INSTALL) -m 755 -f $oflag/Install \$(PMDADIR)/Install
\$(INSTALL) -m 755 -f $oflag/Remove \$(PMDADIR)/Remove \$(INSTALL) -m 755 -f $oflag/Remove \$(PMDADIR)/Remove
\$(INSTALL) -m 644 -f $oflag/Makefile.install \$(PMDADIR)/Makefile \$(INSTALL) -m 644 -f $oflag/Makefile.install \$(PMDADIR)/Makefile
Index: pcp-5.3.7/src/libpcp/src/GNUmakefile Index: pcp-6.2.0/src/libpcp/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp/src/GNUmakefile +++ pcp-6.2.0/src/libpcp/src/GNUmakefile
@@ -138,7 +138,7 @@ endif @@ -142,7 +142,7 @@ endif
install : default install : default
ifneq ($(LIBTARGET),) ifneq ($(LIBTARGET),)
@ -71,7 +71,7 @@ Index: pcp-5.3.7/src/libpcp/src/GNUmakefile
$(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG) $(INSTALL) -m 644 $(LIBCONFIG) $(PCP_LIB_DIR)/pkgconfig/$(LIBCONFIG)
endif endif
ifneq ($(SYMTARGET),) ifneq ($(SYMTARGET),)
@@ -147,7 +147,7 @@ ifneq ($(SYMTARGET),) @@ -151,7 +151,7 @@ ifneq ($(SYMTARGET),)
done done
endif endif
ifneq ($(STATICLIBTARGET),) ifneq ($(STATICLIBTARGET),)
@ -80,11 +80,11 @@ Index: pcp-5.3.7/src/libpcp/src/GNUmakefile
endif endif
$(XFILES): $(XFILES):
Index: pcp-5.3.7/src/libpcp_fault/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_fault/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_fault/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_fault/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_fault/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_fault/src/GNUmakefile
@@ -155,7 +155,7 @@ endif @@ -147,7 +147,7 @@ derive_parser.y: derive_parser.y.in fix_
install : default install : default
ifneq ($(LIBTARGET),) ifneq ($(LIBTARGET),)
@ -93,7 +93,7 @@ Index: pcp-5.3.7/src/libpcp_fault/src/GNUmakefile
endif endif
ifneq ($(SYMTARGET),) ifneq ($(SYMTARGET),)
for tt in $(SYMTARGET); do \ for tt in $(SYMTARGET); do \
@@ -163,7 +163,7 @@ ifneq ($(SYMTARGET),) @@ -155,7 +155,7 @@ ifneq ($(SYMTARGET),)
done done
endif endif
ifneq ($(STATICLIBTARGET),) ifneq ($(STATICLIBTARGET),)
@ -102,10 +102,10 @@ Index: pcp-5.3.7/src/libpcp_fault/src/GNUmakefile
endif endif
$(INSTALL) -m 644 $(TOPDIR)/src/include/pcp/fault.h $(PCP_INC_DIR)/fault.h $(INSTALL) -m 644 $(TOPDIR)/src/include/pcp/fault.h $(PCP_INC_DIR)/fault.h
Index: pcp-5.3.7/src/libpcp_gui/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_gui/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_gui/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_gui/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_gui/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_gui/src/GNUmakefile
@@ -54,7 +54,7 @@ include $(BUILDRULES) @@ -54,7 +54,7 @@ include $(BUILDRULES)
install: default install: default
@ -124,10 +124,10 @@ Index: pcp-5.3.7/src/libpcp_gui/src/GNUmakefile
endif endif
default_pcp: default default_pcp: default
Index: pcp-5.3.7/src/libpcp_import/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_import/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_import/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_import/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_import/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_import/src/GNUmakefile
@@ -54,7 +54,7 @@ include $(BUILDRULES) @@ -54,7 +54,7 @@ include $(BUILDRULES)
install: default install: default
@ -146,10 +146,10 @@ Index: pcp-5.3.7/src/libpcp_import/src/GNUmakefile
endif endif
default_pcp: default default_pcp: default
Index: pcp-5.3.7/src/libpcp_mmv/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_mmv/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_mmv/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_mmv/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_mmv/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_mmv/src/GNUmakefile
@@ -47,7 +47,7 @@ include $(BUILDRULES) @@ -47,7 +47,7 @@ include $(BUILDRULES)
install: default install: default
@ -168,11 +168,11 @@ Index: pcp-5.3.7/src/libpcp_mmv/src/GNUmakefile
endif endif
default_pcp: default default_pcp: default
Index: pcp-5.3.7/src/libpcp_pmcd/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_pmcd/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_pmcd/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_pmcd/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_pmcd/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_pmcd/src/GNUmakefile
@@ -73,7 +73,7 @@ include $(BUILDRULES) @@ -69,7 +69,7 @@ include $(BUILDRULES)
install : default install : default
ifeq "$(TARGET_OS)" "mingw" ifeq "$(TARGET_OS)" "mingw"
@ -181,10 +181,10 @@ Index: pcp-5.3.7/src/libpcp_pmcd/src/GNUmakefile
endif endif
ifeq "$(ENABLE_PROBES)" "true" ifeq "$(ENABLE_PROBES)" "true"
Index: pcp-5.3.7/src/libpcp_pmda/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_pmda/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_pmda/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_pmda/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_pmda/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_pmda/src/GNUmakefile
@@ -64,7 +64,7 @@ include $(BUILDRULES) @@ -64,7 +64,7 @@ include $(BUILDRULES)
install: default install: default
@ -203,10 +203,10 @@ Index: pcp-5.3.7/src/libpcp_pmda/src/GNUmakefile
endif endif
$(XFILES): $(XFILES):
Index: pcp-5.3.7/src/libpcp_trace/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_trace/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_trace/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_trace/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_trace/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_trace/src/GNUmakefile
@@ -56,13 +56,13 @@ include $(BUILDRULES) @@ -56,13 +56,13 @@ include $(BUILDRULES)
install : default install : default
@ -223,11 +223,11 @@ Index: pcp-5.3.7/src/libpcp_trace/src/GNUmakefile
endif endif
default_pcp : default default_pcp : default
Index: pcp-5.3.7/src/libpcp_web/src/GNUmakefile Index: pcp-6.2.0/src/libpcp_web/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/libpcp_web/src/GNUmakefile --- pcp-6.2.0.orig/src/libpcp_web/src/GNUmakefile
+++ pcp-5.3.7/src/libpcp_web/src/GNUmakefile +++ pcp-6.2.0/src/libpcp_web/src/GNUmakefile
@@ -107,7 +107,7 @@ endif @@ -111,7 +111,7 @@ endif
install: default install: default
$(INSTALL) -m 644 -t $(REWRITEVARDIR)/pmproxy_fixups.conf logrewrite.conf $(REWRITEDIR)/pmproxy_fixups.conf $(INSTALL) -m 644 -t $(REWRITEVARDIR)/pmproxy_fixups.conf logrewrite.conf $(REWRITEDIR)/pmproxy_fixups.conf
ifneq ($(LIBTARGET),) ifneq ($(LIBTARGET),)
@ -236,7 +236,7 @@ Index: pcp-5.3.7/src/libpcp_web/src/GNUmakefile
endif endif
ifneq ($(SYMTARGET),) ifneq ($(SYMTARGET),)
for tt in $(SYMTARGET); do \ for tt in $(SYMTARGET); do \
@@ -115,7 +115,7 @@ ifneq ($(SYMTARGET),) @@ -119,7 +119,7 @@ ifneq ($(SYMTARGET),)
done done
endif endif
ifneq ($(STATICLIBTARGET),) ifneq ($(STATICLIBTARGET),)
@ -245,10 +245,10 @@ Index: pcp-5.3.7/src/libpcp_web/src/GNUmakefile
endif endif
$(XFILES): $(XFILES):
Index: pcp-5.3.7/src/pmdas/cifs/GNUmakefile Index: pcp-6.2.0/src/pmdas/cifs/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/cifs/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/cifs/GNUmakefile
+++ pcp-5.3.7/src/pmdas/cifs/GNUmakefile +++ pcp-6.2.0/src/pmdas/cifs/GNUmakefile
@@ -44,8 +44,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -44,8 +44,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -260,10 +260,10 @@ Index: pcp-5.3.7/src/pmdas/cifs/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp-5.3.7/src/pmdas/docker/GNUmakefile Index: pcp-6.2.0/src/pmdas/docker/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/docker/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/docker/GNUmakefile
+++ pcp-5.3.7/src/pmdas/docker/GNUmakefile +++ pcp-6.2.0/src/pmdas/docker/GNUmakefile
@@ -45,8 +45,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -45,8 +45,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install_pcp install: default install_pcp install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -275,10 +275,10 @@ Index: pcp-5.3.7/src/pmdas/docker/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp-5.3.7/src/pmdas/hacluster/GNUmakefile Index: pcp-6.2.0/src/pmdas/hacluster/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/hacluster/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/hacluster/GNUmakefile
+++ pcp-5.3.7/src/pmdas/hacluster/GNUmakefile +++ pcp-6.2.0/src/pmdas/hacluster/GNUmakefile
@@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -290,10 +290,10 @@ Index: pcp-5.3.7/src/pmdas/hacluster/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp-5.3.7/src/pmdas/jbd2/GNUmakefile Index: pcp-6.2.0/src/pmdas/jbd2/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/jbd2/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/jbd2/GNUmakefile
+++ pcp-5.3.7/src/pmdas/jbd2/GNUmakefile +++ pcp-6.2.0/src/pmdas/jbd2/GNUmakefile
@@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -305,11 +305,11 @@ Index: pcp-5.3.7/src/pmdas/jbd2/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_jbd2 root_jbd2 $(PCP_PMNSADM_DIR)/root_jbd2 $(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) -m 644 -t $(REWRITEVARDIR)/jbd2_kernel_ulong.conf jbd2_kernel_ulong.conf $(REWRITEDIR)/jbd2_kernel_ulong.conf
@$(INSTALL_MAN) @$(INSTALL_MAN)
Index: pcp-5.3.7/src/pmdas/kvm/GNUmakefile Index: pcp-6.2.0/src/pmdas/kvm/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/kvm/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/kvm/GNUmakefile
+++ pcp-5.3.7/src/pmdas/kvm/GNUmakefile +++ pcp-6.2.0/src/pmdas/kvm/GNUmakefile
@@ -55,10 +55,10 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -57,10 +57,10 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR) $(INSTALL) -m 755 -d $(PMDATMPDIR)
@ -320,12 +320,12 @@ Index: pcp-5.3.7/src/pmdas/kvm/GNUmakefile
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR) - $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR) + $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_kvm root_kvm $(PCP_PMNSADM_DIR)/root_kvm $(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) @$(INSTALL_MAN)
else Index: pcp-6.2.0/src/pmdas/linux/GNUmakefile
Index: pcp-5.3.7/src/pmdas/linux/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/linux/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/linux/GNUmakefile
+++ pcp-5.3.7/src/pmdas/linux/GNUmakefile +++ pcp-6.2.0/src/pmdas/linux/GNUmakefile
@@ -89,11 +89,11 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -89,11 +89,11 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -340,10 +340,10 @@ Index: pcp-5.3.7/src/pmdas/linux/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_linux root_linux $(PCP_PMNSADM_DIR)/root_linux $(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_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 $(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-5.3.7/src/pmdas/linux_proc/GNUmakefile Index: pcp-6.2.0/src/pmdas/linux_proc/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/linux_proc/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/linux_proc/GNUmakefile
+++ pcp-5.3.7/src/pmdas/linux_proc/GNUmakefile +++ pcp-6.2.0/src/pmdas/linux_proc/GNUmakefile
@@ -73,10 +73,10 @@ build-me: root_proc $(LIBTARGET) $(CMDTA @@ -73,10 +73,10 @@ build-me: root_proc $(LIBTARGET) $(CMDTA
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -357,10 +357,10 @@ Index: pcp-5.3.7/src/pmdas/linux_proc/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_proc root_proc $(PCP_PMNSADM_DIR)/root_proc $(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_proc root_proc $(PCP_PMNSADM_DIR)/root_proc
$(INSTALL) -m 644 -t $(REWRITEVARDIR) $(LOGREWRITERS) $(REWRITEDIR) $(INSTALL) -m 644 -t $(REWRITEVARDIR) $(LOGREWRITERS) $(REWRITEDIR)
@$(INSTALL_MAN) @$(INSTALL_MAN)
Index: pcp-5.3.7/src/pmdas/linux_xfs/GNUmakefile Index: pcp-6.2.0/src/pmdas/linux_xfs/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/linux_xfs/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/linux_xfs/GNUmakefile
+++ pcp-5.3.7/src/pmdas/linux_xfs/GNUmakefile +++ pcp-6.2.0/src/pmdas/linux_xfs/GNUmakefile
@@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE @@ -57,8 +57,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -372,25 +372,10 @@ Index: pcp-5.3.7/src/pmdas/linux_xfs/GNUmakefile
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_xfs root_xfs $(PCP_PMNSADM_DIR)/root_xfs $(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) -m 644 -t $(REWRITEVARDIR) linux_xfs_migrate.conf linux_xfs_perdev_buffer.conf $(REWRITEDIR)
@$(INSTALL_MAN) @$(INSTALL_MAN)
Index: pcp-5.3.7/src/pmdas/linux_zfs/GNUmakefile Index: pcp-6.2.0/src/pmdas/nvidia/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/linux_zfs/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/nvidia/GNUmakefile
+++ pcp-5.3.7/src/pmdas/linux_zfs/GNUmakefile +++ pcp-6.2.0/src/pmdas/nvidia/GNUmakefile
@@ -49,8 +49,8 @@ build-me: $(LIBTARGET) $(CMDTARGET) $(HE
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_zfs $(PMDAADMDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_zfs $(LIBTARGET) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_zfs root_zfs $(PCP_PMNSADM_DIR)/root_zfs
@$(INSTALL_MAN)
else
Index: pcp-5.3.7/src/pmdas/nvidia/GNUmakefile
===================================================================
--- pcp-5.3.7.orig/src/pmdas/nvidia/GNUmakefile
+++ pcp-5.3.7/src/pmdas/nvidia/GNUmakefile
@@ -37,9 +37,8 @@ include $(BUILDRULES) @@ -37,9 +37,8 @@ include $(BUILDRULES)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -403,10 +388,10 @@ Index: pcp-5.3.7/src/pmdas/nvidia/GNUmakefile
$(OBJECTS): domain.h $(OBJECTS): domain.h
Index: pcp-5.3.7/src/pmdas/pmcd/src/GNUmakefile Index: pcp-6.2.0/src/pmdas/pmcd/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/pmcd/src/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/pmcd/src/GNUmakefile
+++ pcp-5.3.7/src/pmdas/pmcd/src/GNUmakefile +++ pcp-6.2.0/src/pmdas/pmcd/src/GNUmakefile
@@ -59,7 +59,7 @@ default: $(LIBTARGET) @@ -59,7 +59,7 @@ default: $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -416,25 +401,10 @@ Index: pcp-5.3.7/src/pmdas/pmcd/src/GNUmakefile
include $(BUILDRULES) include $(BUILDRULES)
Index: pcp-5.3.7/src/pmdas/podman/GNUmakefile Index: pcp-6.2.0/src/pmdas/smart/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/podman/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/smart/GNUmakefile
+++ pcp-5.3.7/src/pmdas/podman/GNUmakefile +++ pcp-6.2.0/src/pmdas/smart/GNUmakefile
@@ -54,8 +54,8 @@ build-me: $(JSONSL_XFILES) $(LIBTARGET)
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_podman $(PMDAADMDIR)
- $(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
+ $(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root root_podman $(LIBTARGET) $(PMDAADMDIR)
+ $(INSTALL) -m 755 -t $(PMDATMPDIR) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PCP_PMNS_DIR)/root_podman root_podman $(PCP_PMNSADM_DIR)/root_podman
@$(INSTALL_MAN)
else
Index: pcp-5.3.7/src/pmdas/smart/GNUmakefile
===================================================================
--- pcp-5.3.7.orig/src/pmdas/smart/GNUmakefile
+++ pcp-5.3.7/src/pmdas/smart/GNUmakefile
@@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET) @@ -48,8 +48,8 @@ build-me: $(CMDTARGET) $(LIBTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -446,10 +416,10 @@ Index: pcp-5.3.7/src/pmdas/smart/GNUmakefile
@$(INSTALL_MAN) @$(INSTALL_MAN)
else else
build-me: build-me:
Index: pcp-5.3.7/src/pmdas/statsd/src/GNUmakefile Index: pcp-6.2.0/src/pmdas/statsd/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/pmdas/statsd/src/GNUmakefile --- pcp-6.2.0.orig/src/pmdas/statsd/src/GNUmakefile
+++ pcp-5.3.7/src/pmdas/statsd/src/GNUmakefile +++ pcp-6.2.0/src/pmdas/statsd/src/GNUmakefile
@@ -68,8 +68,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET) @@ -68,8 +68,8 @@ build-me: $(RAGELTARGET).o $(CMDTARGET)
install: default install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR) $(INSTALL) -m 755 -d $(PMDAADMDIR)
@ -461,10 +431,10 @@ Index: pcp-5.3.7/src/pmdas/statsd/src/GNUmakefile
CFILES += $(RFILES) CFILES += $(RFILES)
Index: pcp-5.3.7/src/zabbix-agent/src/GNUmakefile Index: pcp-6.2.0/src/zabbix-agent/src/GNUmakefile
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/zabbix-agent/src/GNUmakefile --- pcp-6.2.0.orig/src/zabbix-agent/src/GNUmakefile
+++ pcp-5.3.7/src/zabbix-agent/src/GNUmakefile +++ pcp-6.2.0/src/zabbix-agent/src/GNUmakefile
@@ -43,7 +43,7 @@ install: default @@ -43,7 +43,7 @@ install: default
$(INSTALL) -m 755 -d $(ZABBIX_DIR) $(INSTALL) -m 755 -d $(ZABBIX_DIR)
$(INSTALL) -m 755 -d $(MODULE_DIR) $(INSTALL) -m 755 -d $(MODULE_DIR)

View File

@ -10,10 +10,10 @@ Acked-by: David Disseldorp <ddiss@suse.de>
src/perl/PMDA/Makefile.PL | 2 +- src/perl/PMDA/Makefile.PL | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-) 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/perl/LogImport/Makefile.PL b/src/perl/LogImport/Makefile.PL Index: pcp-6.2.0/src/perl/LogImport/Makefile.PL
index a254f5ad5..2ec42f51a 100644 ===================================================================
--- a/src/perl/LogImport/Makefile.PL --- pcp-6.2.0.orig/src/perl/LogImport/Makefile.PL
+++ b/src/perl/LogImport/Makefile.PL +++ pcp-6.2.0/src/perl/LogImport/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") { @@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
else { else {
$ldfrom = "LogImport.o", $ldfrom = "LogImport.o",
@ -22,11 +22,11 @@ index a254f5ad5..2ec42f51a 100644
+ $libs = ["-lpcp_import -lpcp"]; + $libs = ["-lpcp_import -lpcp"];
} }
if ($ENV{TARGET_OS} eq "darwin") { if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc $lddlflags = "-bundle -undefined dynamic_lookup";
diff --git a/src/perl/MMV/Makefile.PL b/src/perl/MMV/Makefile.PL Index: pcp-6.2.0/src/perl/MMV/Makefile.PL
index 7a6787ded..1e4cea031 100644 ===================================================================
--- a/src/perl/MMV/Makefile.PL --- pcp-6.2.0.orig/src/perl/MMV/Makefile.PL
+++ b/src/perl/MMV/Makefile.PL +++ pcp-6.2.0/src/perl/MMV/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") { @@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
else { else {
$ldfrom = "MMV.o"; $ldfrom = "MMV.o";
@ -35,11 +35,11 @@ index 7a6787ded..1e4cea031 100644
+ $libs = ["-lpcp_mmv -lpcp"]; + $libs = ["-lpcp_mmv -lpcp"];
} }
if ($ENV{TARGET_OS} eq "darwin") { if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc $lddlflags = "-bundle -undefined dynamic_lookup";
diff --git a/src/perl/PMDA/Makefile.PL b/src/perl/PMDA/Makefile.PL Index: pcp-6.2.0/src/perl/PMDA/Makefile.PL
index d5c44615a..e2260c4b5 100644 ===================================================================
--- a/src/perl/PMDA/Makefile.PL --- pcp-6.2.0.orig/src/perl/PMDA/Makefile.PL
+++ b/src/perl/PMDA/Makefile.PL +++ pcp-6.2.0/src/perl/PMDA/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") { @@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
else { else {
$ldfrom = "local.o PMDA.o"; $ldfrom = "local.o PMDA.o";
@ -48,7 +48,4 @@ index d5c44615a..e2260c4b5 100644
+ $libs = ["-lpcp_pmda -lpcp"]; + $libs = ["-lpcp_pmda -lpcp"];
} }
if ($ENV{TARGET_OS} eq "darwin") { if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc $lddlflags = "-bundle -undefined dynamic_lookup";
--
2.35.3

View File

@ -12,10 +12,10 @@ Acked-by: David Disseldorp <ddiss@suse.de>
src/pmproxy/rc_pmproxy | 2 +- src/pmproxy/rc_pmproxy | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-) 5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/pmcd/rc_pcp b/src/pmcd/rc_pcp Index: pcp-6.2.0/src/pmcd/rc_pcp
index 228cf58fc..e1b05a51e 100644 ===================================================================
--- a/src/pmcd/rc_pcp --- pcp-6.2.0.orig/src/pmcd/rc_pcp
+++ b/src/pmcd/rc_pcp +++ pcp-6.2.0/src/pmcd/rc_pcp
@@ -31,12 +31,12 @@ @@ -31,12 +31,12 @@
# e.g. SuSE, where chkconfig is a perl script. # e.g. SuSE, where chkconfig is a perl script.
### BEGIN INIT INFO ### BEGIN INIT INFO
@ -35,10 +35,10 @@ index 228cf58fc..e1b05a51e 100644
# Short-Description: Legacy control for PCP daemons # Short-Description: Legacy control for PCP daemons
# Description: Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons # Description: Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons
### END INIT INFO ### END INIT INFO
diff --git a/src/pmcd/rc_pmcd b/src/pmcd/rc_pmcd Index: pcp-6.2.0/src/pmcd/rc_pmcd
index 37571e82c..f0dc662df 100644 ===================================================================
--- a/src/pmcd/rc_pmcd --- pcp-6.2.0.orig/src/pmcd/rc_pmcd
+++ b/src/pmcd/rc_pmcd +++ pcp-6.2.0/src/pmcd/rc_pmcd
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
# Should-Start: $network $remote_fs $syslog $time # Should-Start: $network $remote_fs $syslog $time
# Required-Stop: $local_fs # Required-Stop: $local_fs
@ -48,45 +48,3 @@ index 37571e82c..f0dc662df 100644
# Default-Stop: 0 1 6 # Default-Stop: 0 1 6
# Short-Description: Control pmcd (the collection daemon for PCP) # Short-Description: Control pmcd (the collection daemon for PCP)
# Description: Configure and control pmcd (the collection daemon for the Performance Co-Pilot) # 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 983e3d575..545c35749 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 81aeb51a2..b64750b32 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 1ee71595d..7a732f72c 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.35.3

View File

@ -44,11 +44,11 @@ References: bsc#1186511
src/pmlogger/pmlogger_daily_report.service.in | 4 ++-- src/pmlogger/pmlogger_daily_report.service.in | 4 ++--
14 files changed, 54 insertions(+), 16 deletions(-) 14 files changed, 54 insertions(+), 16 deletions(-)
Index: pcp-5.3.7/src/include/builddefs.in Index: pcp-6.2.0/src/include/builddefs.in
=================================================================== ===================================================================
--- pcp-5.3.7.orig/src/include/builddefs.in --- pcp-6.2.0.orig/src/include/builddefs.in
+++ pcp-5.3.7/src/include/builddefs.in +++ pcp-6.2.0/src/include/builddefs.in
@@ -944,6 +944,9 @@ PCP_GROUP_INSTALL = @pcp_group_install@ @@ -908,6 +908,9 @@ PCP_GROUP_INSTALL = @pcp_group_install@
# systemd service type for logutil scripts # systemd service type for logutil scripts
SD_SERVICE_TYPE=@sd_service_type@ SD_SERVICE_TYPE=@sd_service_type@

View File

@ -0,0 +1,29 @@
From 3bde240a2acc85e63e2f7813330713dd9b59386e Mon Sep 17 00:00:00 2001
From: Nathan Scott <nathans@redhat.com>
Date: Wed, 27 Mar 2024 14:51:28 +1100
Subject: [PATCH] pmproxy: disable Redis protocol proxying by default
If a redis-server has been locked down in terms of connections,
we want to prevent pmproxy from being allowed to send arbitrary
RESP commands to it.
This protocol proxying doesn't affect PCP functionality at all,
its more of a developer/sysadmin convenience when Redis used in
cluster mode (relatively uncommon compared to localhost mode).
---
src/pmproxy/pmproxy.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pmproxy/pmproxy.conf b/src/pmproxy/pmproxy.conf
index e54891792e..4cbc1c96af 100644
--- a/src/pmproxy/pmproxy.conf
+++ b/src/pmproxy/pmproxy.conf
@@ -29,7 +29,7 @@ pcp.enabled = true
http.enabled = true
# support Redis protocol proxying
-redis.enabled = true
+redis.enabled = false
# support SSL/TLS protocol wrapping
secure.enabled = true

BIN
pcp-5.3.7.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pcp-6.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,528 @@
-------------------------------------------------------------------
Mon Apr 15 10:51:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
- move pmlogger_daily into main package (bsc#1222815)
- fix compile flags conflusion
-------------------------------------------------------------------
Wed Apr 3 14:49:06 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
- Add fix for bsc#1222121:
* 0011-disable-redis-proxying-by-default.patch
-------------------------------------------------------------------
Mon Apr 1 01:21:44 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
- 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
pmnsmerge: be more defensive in qsort comparison routine
pmlogsize: fix qsort comparison function handling of equality
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings:
libpcp: pmOpenLog refactor for handling previous log files
libpcp: new __pmCleanMapDir routine to aid log culling
libpcp & pmcd: READY-NOT-READY hardening
libpcp: avoid possible thread issues (coverity)
libpcp: refactor pmDupContext for thread safety
libpcp_import: add guard in pmiPutMark to prevent SIGSEGV
- Build, infrastructure and packaging updates:
build: changes to re-enable builds for FreeBSD 12, 13, 14
build: add diffutils rpm dep as pmdaproc script uses diff
build: add main.yml for building and publishing container
build: resolve compiler warnings in various tools/libraries
packaging: use tmpfiles.d method to create PCP_RUN_DIR
build: packaging changes for openSUSE 15.5 and 15.6
debian: do not ship empty directory /usr/lib/pkgconfig
build: el10 systemd-presets for pmcd/pmie/pmlogger enabling
build: drop rpm dep on bpftool as local version used only
build: change perl YAML::XS::LibYAML module to YAML::XS
- Security Enhanced Linux:
selinux: policy improvements for CentOS/RHEL 7 and 8
- Documentation:
docs: Fedora 39 found some tbl(1)/troff(1) issues, fix
docs: add an explicit code-of-conduct for PCP
docs: pmns(5) note that metric names must only contain ASCII
docs: update the BPF README to describe bpftool reality
* Changes from pcp-6.1.1:
- Client tools and utilities:
pmie: add -o/--format to control output format with archives
pcp-geolocate: automatic latitude and longitude metric labels
pcp-atop: fix segv encountered on a multi-node NUMA system
pcp-atop: add last level cache support using pmdaresctrl
pcp-htop: updated with latest fixes from htop.dev
pcp-netstat: without time options report one sample only
pcp-netstat: add machine header info
pcp-meminfo: without time options report one sample only
pcp-meminfo: add machine header info
pcp-buddyinfo: resolve a key issue when using python v2
pcp-zoneinfo: ensure determinism in pcp-zoneinfo output
pcp-zoneinfo: fix failure with older PCP metric instances
- PMDA additions, enhancements and bug fixes:
pmdaresctrl: new PMDA for x86_64 last level cache metrics
pmdafarm: new Seagate Field Access Reliability Metrics PMDA
pmdadarwin: updated for changes in NFS stats management
pmdalinux: new mem.util metrics from recent kernel versions
pmdalinux: new networking metrics relating to MPTcpExt
pmdasockets: allow sockets with duplicate sources to exist
pmdabpftrace: rework exit/wait handling to avoid errors
pmdahaproxy: fixed connect script handling of string quoting
pmdastatsd: fixed metadata for a couple of metrics
pmdalinux: fixed semantics for mem.vmstat.nr_free_cma metric
pmdadenki: simplification and refactoring of metrics
pmdagfs2: correct permissions of several installed files
pmdakvm: fixed semantics for kvm.largepages metric
- Server-side utilities and log management scripts:
pmproxy: add support for HTTP compression
pmlogger: rework heuristic for Latest folio creation
pmlogctl: fix incorrect rewriting of PCP_ARCHIVE_DIR
pmlogredact: add latitude and longitude labels to redacted set
pmlogrewrite: resolve a small memory leak
pmlogrewrite: use PM_CTXFLAG_METADATA_ONLY for speed
pmcd: add $PMCD_CREDS_TIMEOUT as an alternative to -q
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings:
libpcp: new PM_CTXFLAG_METADATA_ONLY flag for pmNewContext
libpcp: fix a couple of derived metric bugs
libpcp_web: implement config override by canonical env vars
- Misc build, infrastructure and packaging updates:
build: new CI build to keep PCP for MacOS up-to-date
build: several fixes to tools when compiling with clang
build: install pmlog[redact,reduce,rewrite] on default PATH
build: default to using a path-prefixed PCP_PYTHON_PROG
build: update the Fedora container to f38
build: drop of i386/i686 architectures from Fedora builds
build: enable build of pmdalibvirt on CentOS 7 platform
build: enable Qt6 in Fedora and post-RHEL-9 rpm spec files
build: add pyodbc rpm dep for pcp-pmda-mssql in RHEL 9
- Security Enhanced Linux:
selinux: allow pmproxy use the io_uring API
selinux: policy fixes for recent AVCs on RHEL 7.9
selinux: add netlink_kobject_uevent_socket getattr (bpftrace)
- Documentation:
man pages: change all to map font CW -> CR for latest groff
man: note pmseries Redis timeseries load order limitation
* Changes from pcp-6.1.0:
- pmlogredact: new command for archive anonymisation
- pcp-atop: new bar graph visualisation mode
- pcp-atop: update to atoptool.nl 2.9.1 sources
- pcp-htop: support dynamic screens (user-configurable tabs)
- pcp-htop: update to latest upstream source
- pcp-htop: default screens for filesystems, disks and cgroups
- pcp-htop: non-default screens for several libbpf modules
- pcp-htop: fix mishandling of some process argument shading
- pcp-buddyinfo: new tool reporting Linux buddyinfo stats
- pcp-meminfo: new tool reporting Linux kernel memory stats
- pcp-netstat: new tool reporting networking statistics
- pcp-slabinfo: new tool reporting Linux slabinfo kernel stats
- pcp-zoneinfo: new tool reporting Linux zoneinfo kernel stats
- pmsleep,pmpause: add -w where option for systemd annotation
- pmieconf: move test_action from primary into a separate group
- pmieconf: update webhook action for better EDA integration
- pmlogconf: remove latency-inducing fsync on config write
- pmlogconf: updates for new metrics used in pcp-atop
- pmdalinux: add three new /proc/vmstat pscan/pgsteal metrics
- pmdalinux: fix bug when lsb-release is only /etc/*-release file
- pmdabpf: add -q/--tryload command line option
- pmdaopenmetrics: reduce transient instance logs, improve labels
- libpcp: improved SSL error reporting
- selinux: add policy updates for pmproxy (io_uring,ipc_lock)
- build: support for Qt6, drop remaining Qt4 configure-support
- build: updated licence strings in spec files to follow SPDX
- build: default to using a path-prefixed PCP_PYTHON_PROG
- build: fix several makefile clean targets for deb packagers
- build: configure.ac update to autoconf 2.71
- build: add tarball upload to release workflow
- docs: pmie updates to explain action behaviour with archives
- docs: retire "archive log" phrase from man pages and books
- docs: transition Artifactory (no free service) to Packagecloud
* Changes from pcp-6.0.5:
- pmie: ensure pmie.log.YYYYMMDD is owned by pcp:pcp
- pcp2json: extend pcp2json with an option to send HTTP POSTs
- pmlogger: fix pidfile update; pmlogger.pid is for primary only
- pmdumptext: fix scaling when -i command line option is used
- pmlogextract: improve resilience in corner-case conditions
- pmdasmart: additional NVME power state metrics
- pmdasmart: additional NVME disk information metrics
- pmdasmart: update help with proper description of DC status
- pmdasmart: filter out zram devices when probing for devices
- pmdahacluster: handle pacemaker 2.1.5 crm_mon output changes
- pmcd: improve debugging flags and diagnostics in general
- libpcp_pmda: refactor and improve library diagnostics
- selinux: updates to policy for pmlogger and pmlogger_daily
- build: switch rpm spec files to SPDX license identifiers
- build, qa: numerous updates to improve PCP on OpenBSD
- build: switch from registry.centos.org to quay.io for el6/el7
- ci: add centos6 back into the fold as its on quay.io now
- ci: add Debian 12, drop Ubuntu 16 and Fedora 35
* Changes from pcp-6.0.4:
- pmcd: propogate a new PMCD_HOSTNAME_CHANGE flag to clients
- pmdumplog: support preferred alternate name pmlogdump
- pmlogger: changes to accommodate PMCD_HOSTNAME_CHANGE
- pmlogger_janitor: new script called from pmlogger_check
- pmlogger: add -d directory argument for alternate naming schemes
- pmlogrewrite: fix remaining corner case for indom renumbering
- pmie: changes to accommodate PMCD_HOSTNAME_CHANGE
- pmie: catching SIGUSR1 triggers a pending task dump
- pmie_{check,daily}: change pmie.log handling regime
- pmieconf: add support for a webhook action to pmieconf
- pmieconf: add a wall rule action for adm group members
- pmieconf: add support for an action testing rule
- pmieconf: use correct pmieconf percent type for thermal throttle
- pmieconf: add minimum pct conjunction to entropy for small poolsizes
- pminfo: use -b to batch pmDesc retrievals as well as pmResult
- pmstat: fix corner case handling of automatic pmcd reconnect
- pcp2influxdb: add requests.post timeout to avoid hangs
- pcp-dstat: fixes CSV output to show all (not visible) plugins
- pcp-htop: support File Descriptor Meter
- pcp-htop: sync latest fixes from upstream htop
- pcp-mpstat: fixed broken pipe issue
- pcp-ps: fix exception handling for process name
- rc scripts: ensure pmcd.conf not rewritten unnecessarily
- pmdalinux: add a couple of new /proc/net/snmp ICMP metrics
- pmdalinux: add new network.tcp.tcpplbrehash metric
- pmdaproc: add new proc.smaps.pss_dirty metric
- pmdarabbitmq: add timeout handling to http requests
- pmdastatsd: stats and blocklisted metric names alignment
- libpcp: new pmAddDerivedText API for derived metric help text
- libpcp: check level parameter on entry to pmLookupText
- libpcp: new PMAPI error code addition for bad API arguments
- libpcp: allow derived metrics semantics of 'similar' indoms
- selinux: add missing context information on farm services
- build: fix a number of Debian sub-package dependency issues
* Changes from pcp-6.0.3:
- build: fix Debian postinst script handling of missing systemctl
- pmdaproc: support per-cgroup IRQ PSI metrics in recent kernels
- pmdalinux: support for system wide IRQ PSI metrics in recent kernels
- pmlogrewrite: improved handling of unused instance domains
* Changes from pcp-6.0.2:
- Client tools and utilities:
pcp-atop: update to latest upstream atoptool.nl sources
pcp-atop: cgroup, NUMA memory and NUMA CPU support
pcp-htop: update to latest upstream htop.dev sources
pcp-dstat: fix handling of --swap with -f (full) option
pcp-dstat: fix columns for --net-packets
pcp-mpstat: fix handling of log-once summary metric values
pcp-mpstat: improve error handling for the current values
pcp-ps: added capabilities to show N samples with archives
pcp-ps: fix handling of the -o option
pcp-ps: fix broken pipe errors when piping to head(1)
pcp-ps: fix process "START" column calculation and rounding
pcp-pidstat: fix broken pipe errors when piping to head(1)
pmdumplog: extend -x so -xxx reports timestamps in Epoch format
pmlogger: refactor getting FQDN for local host
- PMDA additions, enhancements and bug fixes:
pmdabpf: set config default for biosnoop module to disabled
pmdabpf: port forward to latest vendored libbpf-tools code
pmdalinux: boolean metric network.interface.virtual from sysfs
pmdalinux: more careful slabinfo 32/64 bit type multiplication
pmdalinux: add NUMA external fragmentation metric via sysfs
pmdalinux: fix pmid numbering issue with hinv.map.scsi_id
pmdanfsclient: fix srcport handling for RDMA and UDP mounts
pmdaopenmetrics: validate all names before using them for metrics
pmdaoverhead: new PMDA to measure overhead for groups of processes
pmdastatsd: static metric memory leak fix
pmdastatsd: ragel parser refactor and fix
- Server-side utilities and log management scripts:
pmieconf: new pmie rule checking file descriptor limits
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings:
libpcp: fix buffer issue for user/group name lookups
libpcp_web: improve error handling in pmseries AST parser
- Misc build, infrastructure and packaging updates:
configure.ac: fixes for improved C99 compatibility
configure.ac: use QTDIR search path only when given
MacOS: build: fix shared library builds on modern Macs
OpenBSD: build updates for clang, Qt and openssl
libbpf: updated minimium version to 0.8.0, ARM and PPC support
Qt: update minimum required versions for libqwt
Drop no-longer-used pmlogger_daily_report systemd rpm spec code
Determine clang version without optional llvm-config utility
Another attempt to get the man/man-db/mandoc stuff sorted
- Security Enhanced Linux:
Policy updates for pmdastatsd
- Documentation and QA infrastructure:
Add help text for some OpenBSD kernel instance domains
Provide more detailed explanation for default PMLOGGER_INTERVAL
pmdaChildren(3): clarify the memory allocation scheme
pcp-ps(1) man page fixes.
* Changes from pcp-6.0.1:
- Security Enhanced Linux:
selinux: rework policy to use optional_policy
selinux: rework policy to use an independent policy
selinux: new cluster_exec_t policy handling for pmdahacluster(1)
selinux: retire those parts of the build affecting CentOS 6
- PMDA additions, enhancements and bug fixes:
pmdabpf: set perf_buffer__poll timeout to 0 for optimal sampling
pmdabpf: add CO-RE biosnoop
pmdabpf: no BPF debug messages unless debugging (-Ddev0)
pmdalinux: add "squashfs" to the list of ignored filesystem types
pmdasnmp: install agent specific configuration file to PMDATMPDIR
pmdakvm: initialise perf_event interface only if/when needed
- Client tools and utilities:
pcp-ps: initial version of a PCP implementation of ps(1)
pcp-dstat: add --nomissed command line option for large systems
pmfind, libpcp_web: MMV and shutdown memory management fixes
pmlogreduce: fix corner-case in temporal index generation
pmlogcheck: tighten some pmlogcheck pass0 checks
pmseries: fix sampling when start < first sample or series has gaps
shell completion: improve pmrep/zsh instance completion in live mode
shell tools: convert fgrep and egrep over to grep -F and -E
- Server-side utilities and log management scripts:
pmlogger_daily_report: no longer needs any systemd support now
pmlogger_daily.sh: fix pmlogger_daily_report test for zeroconf
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings:
libpcp_web: fix race conditions affecting pmproxy
libpcp_web: allow scalar operands in pmseries expressions
libpcp_web: add pmseries float multiplication
- Misc build, infrastructure and packaging updates:
build: add PCP archive analysis container
build: updates to fix Windows platform builds
build: update configure.ac to allow builds on Mac M1 (arm64)
build: make openSUSE spec file builds work again
containers: remove /build directory
debian: use deb-systemd-helper if available
build: fix libpcp check-statics regexp error with objects in subdirs
build: podman PMDA no longer has deps, make it unconditional
build: don't package and install pmrep xtract-names helper
build: updates to hiredis code for pmseries and pmproxy
build: updates to hiredis-cluster code for pmseries and pmproxy
build: fix Makepkgs handling of argument parameters
build: use vendored github.com/libbpf/bpftool/libbpf and update
build: use vendored github.com/iovisor/bcc/libbpf-tools
build: use vendored git.code.sf.net/p/qwt and update
build: fix bpf PMDA inclusion check
build: fix windows default pmcd.conf entry, dup path component
build: rework Python3 and Python2 configure.ac logic
packaging: fix rpm systemd-sysusers on f37 and rawhide
- Documentation and QA infrastructure:
docs: small typo fixes relating to secure connections
docs: fix sheet2pcp(1) man page quoting in examples
pmdasample: additional metrics for testing cases
* Changes from pcp-6.0.0:
- Major changes:
1. Add version 3 PCP archive support: instance domain change-deltas,
Y2038-safe timestamps, nanosecond-precision timestamps, arbitrary
timezones support, 64-bit file offsets used throughout for larger
(beyond 2GB) individual volumes.
** Opt-in using the /etc/pcp.conf PCP_ARCHIVE_VERSION setting. **
** Version 2 archives remain the default (for next few years). **
2. Switch to using OpenSSL only throughout PCP (dropped NSS/NSPR);
this impacts on libpcp, PMAPI clients and PMCD use of encryption;
these are now configured and used consistently with pmproxy HTTPS
support and redis-server, which were both already using OpenSSL.
3. New nanosecond precision timestamp PMAPI calls for PCP library
interfaces that make use of timestamps. These are all optional,
and full backward compatibility is preserved for existing tools.
- Client tools and utilities:
pcp2elasticsearch: implement authentication support
pcp-dstat: implement support for the top-alike plugins
pcp-dstat: add plugin configuration for ZFS metrics
pcp-dstat: battery charge remaining config using denki metrics
pcp-htop: update to latest stable upstream release
pcp-htop: initial support for screen tabs in the user interface
pcp-pidstat: correct operation of the -p ALL|SELF options
pmlogger: small changes for handling derived metrics better
pmlogger, import: support configurable default archive version
pcp2xxx: ignore pmrep-specific options
pmlogger: extra hardening, backtrace symbol improvements
pmlogger: add -V (output archive version) command line option
pmseries: add sum(), avg() and stdev() functions
pmseries: add nth_percentile() and topk() functions
pmseries: add max_inst() and max_sample() functions
pmseries: add min_inst() and min_sample() functions
pmseries: be more defensive during shutdown error paths
pmseries: fix assumption that any 40-character string is a SID
pmseries: allow reporting values from SIDs (not just queries)
sheet2pcp: add -V (output archive version) command line option
ganglia2pcp: add -V (output archive version) command line option
iostat2pcp: add -V (output archive version) command line option
- PMDA additions, enhancements and bug fixes:
pmdaapache: do time_t manipulation with sufficient space
pmdabcc: sync bcc PMDA modules with upstream bcc tools
pmdabpf: adds CO-RE (Compile Once - Run Everywhere) modules
(exitsnoop, oomkill, bashreadline, mountsnoop, vfsstat,
opensnoop, fsslower, statsnoop, tcpconnlat, tcpconnect)
pmdabpf: support x86, arm and powerpc
pmdabpf: fixed persistence of indom and cluster identifiers
pmdabpf: rework setrlimit() logic for some small memory hosts
pmdabpftrace: move example autostart scripts to /usr/share
pmdabpftrace: update biolatency example script for kernel 5.16+
pmdadenki: fix battery detection for non-intel systems
pmdadenki: add support for multiple active batteries
pmdadenki: support the -D option for debugging
pmdadenki: improve labels associated with metrics
pmdadenki: add battery capacity metric
pmdadenki: add separate indom help text
pmdalinux: add new MpTcpExt metrics from latest Linux 5.x kernels
pmdalinux: updates for latest /proc/net/netstat kernel changes
pmdalinux: improve network metrics help text
pmdalinux: fix of tty metrics on s390x platform
pmdamailq: update to ensure Y2038-safe time_t handling
pmdammv: use highest available timestamp resolution
pmdaopenvswitch: additional interface and coverage stats
pmdapostfix: harden against a not-yet-running postfix
pmdaproc: fix psargs string for processes with very large PIDs
pmdaproc: fix cgroup cpu metrics refresh structures
pmdasockets: prevent string overwrite of ss_stats_t fields
pmdasockets: add checking to the pmStore filter strings
pmdastatsd: fix detection of failure memory allocation
- Server-side utilities and log management scripts:
pmproxy: allow request parameters to be sent in the request body
pmproxy: fix race on teardown of pcp protocol proxy clients
pmproxy: improve error checking, check uv_pipe_bind result
pmproxy: harden logging interfaces, racing with startup
pmieconf: add several pmie rules for Open vSwitch metrics
pmlogrewrite: subtle change in semantics for error checking
pmlogreduce: allow sub-second values for -t option
pmlogreduce: temporal index, add entries after 100k of data volume
pmlogcheck: beef up pass 0 to check metadata record types
pmlogconf: fix reprobing with interactive changes
pmlogmv: fallback to copy for cross-mount case when link fails
pmlogmv: add -c (paranoid checksum) option
pmlogger_farm: add default configuration file for farm loggers
pmlogger_check: increase PMLOGGER_REQUEST_TIMEOUT from 2 to 10 secs
pmlogger_daily: callbacks for extra daily log processing tasks
pmlogger_daily, pmlogger_check: additional systemd-driven changes
pmlogger_daily: move redirection of stdout+stderr earlier in script
pmlogger_daily: abandom use of fmt(1) - not portable - uses awk now
pmlogger_daily_report.sh: some major efficiency improvements
pmlogger_daily_report: re-enabled for rpm and deb builds
pmie_check: avoid leaving lock file and temp dir behind
pm{log,ie}ctl: handle embedded shell syntax in control lines
pm{log,ie}ctl: add -C args option to pass "args" to pm{logger,ie}_check
systemd units: pmlogger and pmie farm conditional use of type=exec
rc-pmcd: reorder the systemd paths attempted in migrate_pid_cgroup
dbpmda: fix an overlapping copy and add error handling
- libpcp, libpcp_pmda, libpcp_mmv, libpcp_web and language bindings:
libpcp_archive: new library for apps that write PCP archives
libpcp: optimize indom handling in fetchgroup code
libpcp: drop time_t abuse in getdate.y, use safe sizes
libpcp: add __pmDumpPDUTrace() and circular trace buffer
libpcp: add PM_ERR_FEATURE, PM_ERR_TLS error codes
libpcp: refactor __pmDumpStack(), improve direct calling tools
libpcp_qmc: require Qt5.6 as the minimum version for builds
libpcp_qmc: resolve the Qt::endl warning more cleanly
libpcp_web: stop Redis initialization if Redis version tool old
libpcp_web: honour config settings that disable redis completely
libpcp_web: fix memory leaks in discovery, query parsing and APIs
libpcp_web: honor exclude.metrics setting in pmseries --load
libpcp_web: run pmFetchArchive(3) in a worker thread
libpcp_web: fix race condition tearing down load baton
libpcp_pmda: ensure indom cache write handles time_t safely
libpcp_import: add interface for setting output log version
libpcp_import: interfaces for samples with high-resolution timestamps
python api: updates to allow building from outside git repo
python api: allow tools using pmconfig module to ignore options
python api: add python wrappers for highres PMAPI routines
python api: correct refcounting on pmParseMetricSpec source buffer
- Security Enhanced Linux:
selinux: additional policy rules, esp glusterd_log_t
selinux: bcc PMDA policy to exec private memfd ctypes/libffi objects
selinux: make use of syslogd_var_run_t map rule conditional
selinux: policy updates needed for the pmdasockets metrics
selinux: fine-tune netlink_tcpdiag_socket policy for all platforms
- Misc build, infrastructure and packaging updates:
build: latest distros supported (ubuntu 22.04, fedora 37, rhel9, etc)
build: reproducible debian build efforts
build: use standard dpkg buildflags variables.
build: add BuildRequires: python*-pymongo to mongodb PMDA
build: detect libbpf version for the BPF PMDA
build: do not transform symlink targets when generating the source tarball
build: update artifactory deploy script, add recalculate_metadata subtask
build: update configure script for python2 retirement in rhel9
build: convert libpcp check-statics to using readelf if available
build: updates to libpcp check-statics for OpenBSD
build: fix configure detection of backtrace() and associated hooks
build: fixed source dependencies within libpcp_web makefile
build: add rpm conflicts lines on postgresql-pgpool-II
build: remove pmclient reliance on libpcp.h for timed sleep
build: remove mmvdump reliance on libpcp.h for mmap wrapper
build: make perl truly conditional in the PCP build
build: drop no-longer-needed NSS/NSPR package deps
build: resolve ostree non-writable /var for pmieconf
packaging: update rpm specs to solve systemd warnings
container: bump base image version
Makepkgs: fix for Debian build (and Qt packaging failure in CI)
vendor: switch to git-subtree for iovisor/bcc libbpf-tools code
- Documentation and QA infrastructure:
docs: update notes about sar2pcp, iostat2pcp in pcpcompat(1)
docs: add section to pcpcompat(1) about python2
docs: add fix for readthedocs compilation error
docs: updates to the Quick Guide documents
docs: clatifications to pmrep et al: man pages
docs: improve pmproxy timeseries and pmseries load documentation
docs: further improvements and fixes to the INSTALL doc
docs: add pmlogger(1) -V, describe $PCP_ARCHIVE_VERSION in pcp.conf.
docs: small fixes to the pcp-pidstat man page
docs: fix webapi documentation typo around polltimeout
pylint: numerous issues resolved, tracking latest versions
qa: regression tests for bpftrace PMDA: check probes
qa: pmdabcc pylint fixups
qa: rework Redis PING-PONG checks
qa/check: run tests under timeout(1) control if possible
qa-summary: allow unified reporting from CI and QA Farm
qa/admin/show-me-all & qa/show-me: changes for CI integration
qa/check: add support for "triaged" tests
ci: send report to Slack when QA workflow is triggered manually
ci: add required packages to enable bpf PMDA on CentOS Stream 9
ci: run CodeQL daily and for each PR
ci: run full QA on pull requests, save history
ci: unset XDG_RUNTIME_DIR when invoking podman
- Refresh patches:
* 0001-Install-libraries-without-exec-permission.patch
* 0002-Remove-CPAN-rpaths.patch
* 0003-Remove-runlevel-4-from-init-scripts.patch
* 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch
- Change dependency from openssl-devel >= 1.1.1 to openssl-devel >= 1.0.2p.
Required for SLE-12, builds just fine.
- Disable 'pmda-infiniband' subpackage for SLE-12.
Required so it builds cleanly.
- Introduce pmda-resctrl package, disabled for architectures other
than x86_64.
- Change the architecture for various subpackages to 'noarch' as they
contain no binaries, this lowers rpmlint's badness score
substantially.
- Disable 'pmda-mssql', as it fails to build.
-------------------------------------------------------------------
Thu Feb 29 14:50:14 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
-------------------------------------------------------------------
Thu Feb 1 22:51:16 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Change YAML::XS::LibYAML to YAML::XS as this is the module to be used
-------------------------------------------------------------------
Thu Dec 14 10:36:41 CET 2023 - mls@suse.de
- declare the users/groups we create in the preinstall scripts
(this is needed for newer rpm versions)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 28 00:33:12 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com> Tue Nov 28 00:33:12 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com>

1086
pcp.spec

File diff suppressed because it is too large Load Diff