added more conflicting services to the systemd service file

resolves: rhbz#2053919
This commit is contained in:
Jaroslav Škarvada 2022-02-15 22:38:03 +01:00
parent 7ea0e1333b
commit ce40b308af
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 4992d1b8f41561ba8baec23a3da13d202a82b09f Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Sun, 13 Feb 2022 11:33:55 +0100
Subject: [PATCH] Added more conflicting implementations to the systemd unit
file.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
---
tuned.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tuned.service b/tuned.service
index 0d6c3c83..c822c105 100644
--- a/tuned.service
+++ b/tuned.service
@@ -2,7 +2,7 @@
Description=Dynamic System Tuning Daemon
After=systemd-sysctl.service network.target dbus.service
Requires=dbus.service polkit.service
-Conflicts=cpupower.service
+Conflicts=cpupower.service auto-cpufreq.service tlp.service power-profiles-daemon.service
Documentation=man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)
[Service]

View File

@ -35,7 +35,7 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.18.0
Release: 1%{?prerel1}%{?dist}
Release: 2%{?prerel1}%{?dist}
License: GPLv2+
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
URL: http://www.tuned-project.org/
@ -95,6 +95,7 @@ Recommends: subscription-manager
Requires: python3-syspurpose
%endif
%endif
Patch0: tuned-2.18.0-conflicting-services.patch
%description
The tuned package contains a daemon that tunes system settings dynamically.
@ -542,6 +543,10 @@ fi
%{_mandir}/man7/tuned-profiles-openshift.7*
%changelog
* Tue Feb 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-2
- added more conflicting services to the systemd service file
resolves: rhbz#2053919
* Wed Feb 9 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-1
- new release
- rebased tuned to latest upstream