diff --git a/0001-fix-remove-PathExists-condition-from-unit.patch b/0001-fix-remove-PathExists-condition-from-unit.patch new file mode 100644 index 0000000..7698e4e --- /dev/null +++ b/0001-fix-remove-PathExists-condition-from-unit.patch @@ -0,0 +1,28 @@ +From ec3502eaef144838bec85dfed497de7a404a66bf 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#2022191 +--- + 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] +-- +2.34.1 + diff --git a/insights-client.spec b/insights-client.spec index 9de2abb..882cc56 100644 --- a/insights-client.spec +++ b/insights-client.spec @@ -3,7 +3,7 @@ Name: insights-client Summary: Uploads Insights information to Red Hat on a periodic basis Version: 3.1.7 -Release: 2%{?dist} +Release: 3%{?dist} Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz Epoch: 0 License: GPLv2+ @@ -11,6 +11,8 @@ URL: http://cloud.redhat.com/insights Group: Applications/System Vendor: Red Hat, Inc. +Patch0: 0001-fix-remove-PathExists-condition-from-unit.patch + Provides: redhat-access-insights = %{version}-%{release}%{?dist} Obsoletes: redhat-access-insights <= 1.0.13-2 @@ -115,6 +117,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 31 2022 Link Dupont - 3.1.7-3 +- Patch to fix an issue where insights-client continuously launches (RHBZ#2022191) + * Fri Jan 28 2022 Link Dupont - 3.1.7-2 - Remove scriptlets referencing nonexistent files (RHBZ#2024836)