Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
|
@ -1 +1 @@
|
||||||
SOURCES/stalld-1.19.1.tar.bz2
|
SOURCES/stalld-1.17.1.tar.bz2
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
449566fc8c5f8568a92ed0a04d15c31d64878741 SOURCES/stalld-1.17.1.tar.bz2
|
|
@ -1,6 +1,6 @@
|
||||||
From c93cef85e7ec08d924ad6a4f90a8677cc1603950 Mon Sep 17 00:00:00 2001
|
From 476152742021303d2defeb69f524bcc302618081 Mon Sep 17 00:00:00 2001
|
||||||
From: John Kacur <jkacur@redhat.com>
|
From: Leah Leshchinsky <lleshchi@redhat.com>
|
||||||
Date: Wed, 14 Feb 2024 15:55:30 -0500
|
Date: Mon, 29 Aug 2022 14:07:39 -0400
|
||||||
Subject: [PATCH] Start stalld service as initrc_t
|
Subject: [PATCH] Start stalld service as initrc_t
|
||||||
|
|
||||||
Stalld currently runs as an unconfined_service_t.
|
Stalld currently runs as an unconfined_service_t.
|
||||||
|
@ -8,16 +8,12 @@ Stalld currently runs as an unconfined_service_t.
|
||||||
Edit to service file so that the daemon is launched as an initrc_t.
|
Edit to service file so that the daemon is launched as an initrc_t.
|
||||||
|
|
||||||
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
|
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
|
||||||
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
||||||
---
|
|
||||||
systemd/stalld.service | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/systemd/stalld.service b/systemd/stalld.service
|
diff --git a/redhat/stalld.service b/redhat/stalld.service
|
||||||
index d93110b1b43e..69f3ee728129 100644
|
index e0eb4b77b0a7..bcd4b767f629 100644
|
||||||
--- a/systemd/stalld.service
|
--- a/redhat/stalld.service
|
||||||
+++ b/systemd/stalld.service
|
+++ b/redhat/stalld.service
|
||||||
@@ -10,7 +10,7 @@ ExecStartPre=/usr/bin/throttlectl off
|
@@ -9,7 +9,7 @@ ExecStartPre=/usr/bin/throttlectl off
|
||||||
|
|
||||||
# In case the regex passed to IT or IP includes C escape sequences,
|
# In case the regex passed to IT or IP includes C escape sequences,
|
||||||
# use ${IT} or ${IP} instead of $IT or $IP
|
# use ${IT} or ${IP} instead of $IT or $IP
|
||||||
|
@ -27,5 +23,5 @@ index d93110b1b43e..69f3ee728129 100644
|
||||||
CPUSchedulingPolicy=fifo
|
CPUSchedulingPolicy=fifo
|
||||||
CPUSchedulingPriority=10
|
CPUSchedulingPriority=10
|
||||||
--
|
--
|
||||||
2.43.0
|
2.31.1
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Name: stalld
|
Name: stalld
|
||||||
Version: 1.19.1
|
Version: 1.17.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Daemon that finds starving tasks and gives them a temporary boost
|
Summary: Daemon that finds starving tasks and gives them a temporary boost
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
|
@ -14,16 +14,7 @@ BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
|
|
||||||
%ifnarch i686
|
Patch0: Start-stalld-service-as-initrc_t.patch
|
||||||
BuildRequires: bpftool
|
|
||||||
BuildRequires: clang
|
|
||||||
BuildRequires: libbpf-devel
|
|
||||||
BuildRequires: llvm
|
|
||||||
|
|
||||||
Requires: libbpf
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Patch0: Start-stalld-service-as-initrc_t.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The stalld program monitors the set of system threads,
|
The stalld program monitors the set of system threads,
|
||||||
|
@ -41,7 +32,7 @@ allow 10 microseconds of runtime for 1 second of clock time.
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
|
%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
|
||||||
%make_install -C systemd UNITDIR=%{_unitdir}
|
%make_install -C redhat UNITDIR=%{_unitdir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
@ -62,22 +53,6 @@ allow 10 microseconds of runtime for 1 second of clock time.
|
||||||
%systemd_postun_with_restart %{name}.service
|
%systemd_postun_with_restart %{name}.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 14 2024 John Kacur <jkacur@redhat.com> - 1.19.1-4
|
|
||||||
- Put back patch to run stalld service as initrc_t
|
|
||||||
Resolves: RHEL-8982
|
|
||||||
|
|
||||||
* Mon Feb 12 2024 John Kacur <jkacur@redhat.com> - 1.19.1-3
|
|
||||||
- Copying over missing tests directory
|
|
||||||
Resolves: RHEL-8982
|
|
||||||
|
|
||||||
* Mon Feb 12 2024 John Kacur <jkacur@redhat.com> - 1.19.1-2
|
|
||||||
- Add llvm as a build requirement
|
|
||||||
Resolves: RHEL-8982
|
|
||||||
|
|
||||||
* Fri Feb 09 2024 John Kacur <jkacur@redhat.com> - 1.19.1-1
|
|
||||||
- Rebase to v1.19.1 upstream
|
|
||||||
Resolves: RHEL-8982
|
|
||||||
|
|
||||||
* Tue Oct 18 2022 Leah Leshchinsky <lleshchi@redhat.com> - 1.17.1-1
|
* Tue Oct 18 2022 Leah Leshchinsky <lleshchi@redhat.com> - 1.17.1-1
|
||||||
- stalld: Fix memory leak in print_boosted_info()
|
- stalld: Fix memory leak in print_boosted_info()
|
||||||
- utils: Check if the system is in lockdown mode
|
- utils: Check if the system is in lockdown mode
|
||||||
|
|
Loading…
Reference in New Issue