Resolve pcp-selinux issues causing services failures - BZ 1810458

This commit is contained in:
Mark Goodwin 2020-03-11 10:43:26 +11:00
parent 7b3bf50839
commit caf8bd3680
3 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ vector-*
/pmcd-pmlogger-local-context.patch /pmcd-pmlogger-local-context.patch
/selinux-policy-updates.patch /selinux-policy-updates.patch
/fix-pmdastatsd-build-error.patch /fix-pmdastatsd-build-error.patch
/pcp-selinux-drop-name_connect-udp.patch

View File

@ -1,6 +1,6 @@
Name: pcp Name: pcp
Version: 5.0.3 Version: 5.0.3
Release: 2%{?dist} Release: 3%{?dist}
Summary: System-level performance monitoring and performance management Summary: System-level performance monitoring and performance management
License: GPLv2+ and LGPLv2+ and CC-BY License: GPLv2+ and LGPLv2+ and CC-BY
URL: https://pcp.io URL: https://pcp.io
@ -8,6 +8,9 @@ URL: https://pcp.io
%global bintray https://bintray.com/artifact/download %global bintray https://bintray.com/artifact/download
Source0: %{bintray}/pcp/source/pcp-%{version}.src.tar.gz 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 %if 0%{?fedora} >= 26 || 0%{?rhel} > 7
%global __python2 python2 %global __python2 python2
%else %else
@ -2113,6 +2116,7 @@ updated policy package.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%if !%{disable_python2} && 0%{?default_python} != 3 %if !%{disable_python2} && 0%{?default_python} != 3
@ -3263,6 +3267,9 @@ cd
%endif %endif
%changelog %changelog
* Wed Mar 11 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.0.3-3
- Resolve pcp-selinux issues causing services failures - (BZ 1810458)
* Mon Mar 02 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.0.3-2 * Mon Mar 02 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.0.3-2
- fix typo in Requires: perl-Time-HiRes affecting pcp-pmda-bind2 - fix typo in Requires: perl-Time-HiRes affecting pcp-pmda-bind2

View File

@ -1 +1 @@
SHA512 (pcp-5.0.3.src.tar.gz) = 7b7b8d0df933ae555b2b99ba88e1dfceac06d123a2fbdc700f75b22da307073b090ce56bbff64069e1fe002ee14961aef619a84af57c354ff48ad902e2fc87d1 SHA512 (pcp-selinux-drop-name_connect-udp.patch) = 624bb6bd95d529812882485665d357b17c1b757ca4fb3488102c0864f09ca538ee45ba84f1111a08c2af1c72928eec76ace8480999d12ec759e412b7ea877d66