Patch removing insights-client launch loop

Resolves: RHBZ#2022191
This commit is contained in:
Link Dupont 2022-01-31 11:02:03 -05:00
parent 10d0e50ca5
commit dbac06ed6d
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From ec3502eaef144838bec85dfed497de7a404a66bf Mon Sep 17 00:00:00 2001
From: Link Dupont <link@sub-pop.net>
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

View File

@ -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 <link@redhat.com> - 3.1.7-3
- Patch to fix an issue where insights-client continuously launches (RHBZ#2022191)
* Fri Jan 28 2022 Link Dupont <link@redhat.com> - 3.1.7-2
- Remove scriptlets referencing nonexistent files (RHBZ#2024836)