Patch removing insights-client launch loop
Resolves: RHBZ#2022191
This commit is contained in:
parent
10d0e50ca5
commit
dbac06ed6d
28
0001-fix-remove-PathExists-condition-from-unit.patch
Normal file
28
0001-fix-remove-PathExists-condition-from-unit.patch
Normal 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
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user