From 6ad5d512a1091c4f081337d84df446f8d60d179dd75419e2c5c9318477bff710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Thu, 14 Dec 2023 09:38:15 +0000 Subject: [PATCH] declare the users/groups we create in the preinstall scripts OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=127 --- pcp.changes | 6 +++++ pcp.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/pcp.changes b/pcp.changes index bc8c8fa..00e735e 100644 --- a/pcp.changes +++ b/pcp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/pcp.spec b/pcp.spec index a802105..decd34d 100644 --- a/pcp.spec +++ b/pcp.spec @@ -266,6 +266,10 @@ Patch10: 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch %global disable_zabbix_agent 0 %endif +# declare the user/group we create in the preinstall script +Provides: user(pcp) +Provides: group(pcp) + # KVM PMDA moved into pcp (no longer using Perl, default on) Obsoletes: pcp-pmda-kvm < %{version} Provides: pcp-pmda-kvm = %{version} @@ -536,6 +540,7 @@ applications to easily retrieve and process any subset of that data. + # # pcp-conf # @@ -555,6 +560,7 @@ Performance Co-Pilot (PCP) run-time configuration + # # pcp-libs # @@ -645,6 +651,7 @@ Performance Co-Pilot (PCP) headers for development. + # # pcp-devel # @@ -668,6 +675,7 @@ Performance Co-Pilot (PCP) documentation and tools for development. + # # pcp-testsuite # @@ -684,6 +692,9 @@ Requires: pcp = %{version}-%{release} Requires: pcp-devel = %{version}-%{release} Obsoletes: pcp-gui-testsuite < %{version} Provides: pcp-gui-testsuite = %{version} +# declare the user/group we create in the preinstall script +Provides: user(pcpqa) +Provides: group(pcpqa) %description testsuite Quality assurance test suite for Performance Co-Pilot (PCP). @@ -693,6 +704,7 @@ Quality assurance test suite for Performance Co-Pilot (PCP). + # # perl-PCP-PMDA. This is the PCP agent perl binding. # @@ -718,6 +730,7 @@ an application, etc. + # # perl-PCP-MMV # @@ -744,6 +757,7 @@ and analysis with pmchart, pmie, pmlogger and other PCP tools. + # # perl-PCP-LogImport # @@ -767,6 +781,7 @@ they can be replayed with standard PCP monitoring tools. + # # perl-PCP-LogSummary # @@ -793,6 +808,7 @@ exporting this data into third-party tools (e.g. spreadsheets). + # # pcp-import-sar2pcp # @@ -816,6 +832,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. + # # pcp-import-iostat2pcp # @@ -877,6 +894,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. + # # pcp-import-ganglia2pcp # @@ -899,6 +917,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. + # # pcp-import-collectl2pcp # @@ -960,6 +979,7 @@ See https://www.elastic.co/community for further details. + # # pcp-export-pcp2graphite # @@ -982,6 +1002,7 @@ to graphite (http://graphite.readthedocs.org). + # pcp-export-pcp2influxdb # %package export-pcp2influxdb @@ -1005,6 +1026,7 @@ to InfluxDB (https://influxdata.com/time-series-platform/influxdb). + # # pcp-export-pcp2json # @@ -1025,6 +1047,7 @@ in JSON format. + # # pcp-export-pcp2spark # @@ -1080,6 +1103,7 @@ in XML format. + # # pcp-export-pcp2zabbix # @@ -1184,6 +1208,7 @@ collecting metrics about the ActiveMQ message broker. + # # pcp-pmda-bind2 # @@ -1207,6 +1232,7 @@ collecting metrics from BIND (Berkeley Internet Name Domain). + # # pcp-pmda-redis # @@ -1262,6 +1288,7 @@ collecting metrics about bonded network interfaces. + # # pcp-pmda-dbping # @@ -1283,6 +1310,7 @@ collecting metrics about the Database response times and Availablility. + # # pcp-pmda-ds389 # @@ -1308,6 +1336,7 @@ collecting metrics about a 389 Directory Server. + # # pcp-pmda-ds389log # @@ -1329,6 +1358,7 @@ collecting metrics from a 389 Directory Server log. + # # pcp-pmda-gpfs # @@ -1349,6 +1379,7 @@ collecting metrics about the GPFS filesystem. + # # pcp-pmda-gpsd # @@ -1370,6 +1401,7 @@ collecting metrics about a GPS Daemon. + # # pcp-pmda-docker # @@ -1389,6 +1421,7 @@ collecting metrics using the Docker daemon REST API. + # # pcp-pmda-lustre # @@ -1409,6 +1442,7 @@ collecting metrics about the Lustre Filesystem. + # # pcp-pmda-lustrecomm # @@ -1433,6 +1467,7 @@ collecting metrics about the Lustre Filesystem Comms. + # # pcp-pmda-memcache # @@ -1454,6 +1489,7 @@ collecting metrics about Memcached. + # # pcp-pmda-mysql # @@ -1479,6 +1515,7 @@ collecting metrics about the MySQL database. + # # pcp-pmda-named # @@ -1500,6 +1537,7 @@ collecting metrics about the Named nameserver. + # pcp-pmda-netfilter # %package pmda-netfilter @@ -1520,6 +1558,7 @@ collecting metrics about the Netfilter packet filtering framework. + # # pcp-pmda-news # @@ -1541,6 +1580,7 @@ collecting metrics about Usenet News. + # # pcp-pmda-nginx # @@ -1563,6 +1603,7 @@ collecting metrics about the Nginx Webserver. + # # pcp-pmda-oracle # @@ -1585,6 +1626,7 @@ collecting metrics about the Oracle database. + # # pcp-pmda-pdns # @@ -1606,6 +1648,7 @@ collecting metrics about the PowerDNS. + # # pcp-pmda-postfix # @@ -1639,6 +1682,7 @@ collecting metrics about the Postfix (MTA). + # # pcp-pmda-rsyslog # @@ -1660,6 +1704,7 @@ collecting metrics about Rsyslog. + # # pcp-pmda-samba # @@ -1681,6 +1726,7 @@ collecting metrics about Samba. + # # pcp-pmda-slurm # @@ -1739,6 +1785,7 @@ collecting metrics for VMware. + # # pcp-pmda-zimbra # @@ -1760,6 +1807,7 @@ collecting metrics about Zimbra. + # # pcp-pmda-dm # @@ -1798,6 +1846,7 @@ collecting metrics about the gluster filesystem. + # # pcp-pmda-nfsclient # @@ -1852,6 +1901,7 @@ collecting metrics about compressed swap. + # # pcp-pmda-unbound # @@ -1872,6 +1922,7 @@ collecting metrics about the Unbound DNS Resolver. + # # pcp-pmda-mic # @@ -1892,6 +1943,7 @@ collecting metrics about Intel MIC cards. + # # pcp-pmda-haproxy # @@ -1954,6 +2006,7 @@ collecting metrics about Elasticsearch. + # # pcp-pmda-openvswitch # @@ -1974,6 +2027,7 @@ collecting metrics from Open vSwitch. + # # pcp-pmda-rabbitmq # @@ -2040,6 +2094,7 @@ extracting metrics from OpenMetrics (https://openmetrics.io/) endpoints. + # # pcp-pmda-lmsensors # @@ -2063,6 +2118,7 @@ collecting metrics about the Linux hardware monitoring sensors. + # # pcp-pmda-netcheck # @@ -2148,6 +2204,7 @@ collecting metrics about the Apache webserver. + # # pcp-pmda-bash # @@ -2171,6 +2228,7 @@ collecting metrics about the Bash shell. + # # pcp-pmda-cifs # @@ -2193,6 +2251,7 @@ collecting metrics about the Common Internet Filesytem. + # # pcp-pmda-cisco # @@ -2216,6 +2275,7 @@ collecting metrics about Cisco routers. + # # pcp-pmda-gfs2 # @@ -2238,6 +2298,7 @@ collecting metrics about the Global Filesystem v2. + # # pcp-pmda-logger # @@ -2262,6 +2323,7 @@ supports both sampled and event-style metrics. + # # pcp-pmda-mailq # @@ -2285,6 +2347,7 @@ collecting metrics about email queues managed by sendmail. + # # pcp-pmda-mounts # @@ -2308,6 +2371,7 @@ collecting metrics about filesystem mounts. + # # pcp-pmda-nvidia-gpu # @@ -2330,6 +2394,7 @@ collecting metrics about Nvidia GPUs. + # # pcp-pmda-roomtemp # @@ -2393,6 +2458,7 @@ collecting metrics about Sendmail traffic. + # # pcp-pmda-shping # @@ -2417,6 +2483,7 @@ arbitrary shell commands. + # # pcp-pmda-smart # @@ -2438,6 +2505,7 @@ smartmontools package. + # # pcp-pmda-sockets # @@ -2459,6 +2527,7 @@ collecting per-socket statistics, making use of utilities such as 'ss'. + # # pcp-pmda-hacluster # @@ -2479,6 +2548,7 @@ collecting metrics about linux High Availability (HA) Clusters. + # # pcp-pmda-summary # @@ -2540,6 +2610,7 @@ collecting metrics about trace performance data in applications. + # # pcp-pmda-weblog # @@ -2563,6 +2634,7 @@ collecting metrics about web server logs. + # end pcp-pmda-weblog # end C pmdas