diff --git a/SOURCES/0002-fix-remove-PathExists-condition-from-unit.patch b/SOURCES/0002-fix-remove-PathExists-condition-from-unit.patch new file mode 100644 index 0000000..300589b --- /dev/null +++ b/SOURCES/0002-fix-remove-PathExists-condition-from-unit.patch @@ -0,0 +1,27 @@ +From a69574b2a6c22ecaedf08c8648c89fed33e7eafc Mon Sep 17 00:00:00 2001 +From: Link Dupont +Date: Mon, 31 Jan 2022 10:53:04 -0500 +Subject: [PATCH] fix: remove PathExists condition from unit + +The PathExists= directive in the Path section of the +insights-client-results.path unit is unnecessary. + +Fixes: RHBZ#2109244 +(cherry picked from commit ec3502eaef144838bec85dfed497de7a404a66bf) +(cherry picked from commit 844a3294541fb84bd742826ca8c110c05ad9b4fd) +--- + data/systemd/insights-client-results.path.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/data/systemd/insights-client-results.path.in b/data/systemd/insights-client-results.path.in +index be53998..928296b 100644 +--- a/data/systemd/insights-client-results.path.in ++++ b/data/systemd/insights-client-results.path.in +@@ -13,7 +13,6 @@ Documentation=man:insights-client(8) + PartOf=insights-client.timer + + [Path] +-PathExists=@pkgsysconfdir@/.lastupload + PathModified=@pkgsysconfdir@/.lastupload + + [Install] diff --git a/SPECS/insights-client.spec b/SPECS/insights-client.spec index 2d821e3..77898ea 100644 --- a/SPECS/insights-client.spec +++ b/SPECS/insights-client.spec @@ -4,12 +4,13 @@ Name: insights-client Summary: Uploads Insights information to Red Hat on a periodic basis Version: 3.1.7 -Release: 1%{?dist} +Release: 2%{?dist} Source0: https://github.com/redhatinsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz # # patches_ignore=DROP-IN-RPM # patches_base=3.1.7 Patch0001: 0001-DOWNSTREAM-ONLY-remove-cgroupv2-vars-in-systemd-conf.patch +Patch0002: 0002-fix-remove-PathExists-condition-from-unit.patch Epoch: 0 License: GPLv2+ @@ -104,6 +105,9 @@ fi %changelog +* Mon Sep 19 2022 Gael Chamoulaud 0:3.1.7-2 +- fix: remove PathExists condition from unit (RHBZ#2109244) + * Thu Mar 31 2022 Link Dupont 0:3.1.7-1 - Update to 3.1.7 (RHBZ#2047819)