From caf8bd368051e27e4ff717f12d413051df8c9a13 Mon Sep 17 00:00:00 2001 From: Mark Goodwin Date: Wed, 11 Mar 2020 10:43:26 +1100 Subject: [PATCH] Resolve pcp-selinux issues causing services failures - BZ 1810458 --- .gitignore | 1 + pcp.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b32b59d..c230658 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ vector-* /pmcd-pmlogger-local-context.patch /selinux-policy-updates.patch /fix-pmdastatsd-build-error.patch +/pcp-selinux-drop-name_connect-udp.patch diff --git a/pcp.spec b/pcp.spec index f387a3c..f8bf88b 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,6 +1,6 @@ Name: pcp Version: 5.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: System-level performance monitoring and performance management License: GPLv2+ and LGPLv2+ and CC-BY URL: https://pcp.io @@ -8,6 +8,9 @@ URL: https://pcp.io %global bintray https://bintray.com/artifact/download Source0: %{bintray}/pcp/source/pcp-%{version}.src.tar.gz +# Patches +Patch0: pcp-selinux-drop-name_connect-udp.patch + %if 0%{?fedora} >= 26 || 0%{?rhel} > 7 %global __python2 python2 %else @@ -2113,6 +2116,7 @@ updated policy package. %prep %setup -q +%patch0 -p1 %build %if !%{disable_python2} && 0%{?default_python} != 3 @@ -3263,6 +3267,9 @@ cd %endif %changelog +* Wed Mar 11 2020 Mark Goodwin - 5.0.3-3 +- Resolve pcp-selinux issues causing services failures - (BZ 1810458) + * Mon Mar 02 2020 Mark Goodwin - 5.0.3-2 - fix typo in Requires: perl-Time-HiRes affecting pcp-pmda-bind2 diff --git a/sources b/sources index 6b028b3..b22cadb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pcp-5.0.3.src.tar.gz) = 7b7b8d0df933ae555b2b99ba88e1dfceac06d123a2fbdc700f75b22da307073b090ce56bbff64069e1fe002ee14961aef619a84af57c354ff48ad902e2fc87d1 +SHA512 (pcp-selinux-drop-name_connect-udp.patch) = 624bb6bd95d529812882485665d357b17c1b757ca4fb3488102c0864f09ca538ee45ba84f1111a08c2af1c72928eec76ace8480999d12ec759e412b7ea877d66