Sync from SUSE:SLFO:Main stalld revision 5727f010881cf80599b7f526504ede2b

This commit is contained in:
2025-05-19 19:41:20 +02:00
parent 40ded7bfa3
commit a3fa8130ad
5 changed files with 31 additions and 20 deletions

View File

@@ -1,12 +0,0 @@
diff --git a/systemd/stalld.service b/systemd/stalld.service
index d93110b..c80ba24 100644
--- a/systemd/stalld.service
+++ b/systemd/stalld.service
@@ -7,6 +7,7 @@ Type=simple
# Type=forking
EnvironmentFile=/etc/sysconfig/stalld
+RuntimeDirectory=stalld
ExecStartPre=/usr/bin/throttlectl off
# In case the regex passed to IT or IP includes C escape sequences,
# use ${IT} or ${IP} instead of $IT or $IP

BIN
stalld-v1.19.3.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
stalld-v1.19.8.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Mar 10 11:04:00 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 1.19.8. Check https://gitlab.com/rt-linux-tools/stalld/-/releases
for the full list of changes.
Changes since 1.19.6:
* Address CVE-2024-54159, which is a DoS issue with the way
throttlectl.sh uses temp files (boo#1230327)
* Fix a compilation issue with a prototype mis-match in
stalld.h and utils.c for cleanup_regex()
* Workaround missing sched_getattr() export from glibc
* Fix a problem with parsing /sys/kernel/debug/sched/debug on
aarch64
- Drop patches:
* pid-dir.patch
* fixed-tmpfile-fix.patch
-------------------------------------------------------------------
Thu Nov 28 08:53:21 UTC 2024 - Matthias Gerstner <matthias.gerstner@suse.com>
- add fixed-tmpfile-fix.patch: place the original scheduling values in a
root-owned directory in /run/stalld, not into the public /tmp directory
(bsc#1230327).
-------------------------------------------------------------------
Tue Aug 27 07:56:21 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package stalld
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,12 @@
Name: stalld
Version: 1.19.3
Version: 1.19.8
Release: 0
Summary: Daemon that finds starving tasks and gives them a temporary boost
License: GPL-2.0-only AND GPL-2.0-or-later
URL: https://gitlab.com/rt-linux-tools/%{name}/%{name}.git
Source0: https://gitlab.com/rt-linux-tools/stalld/-/archive/v%{version}/stalld-v%{version}.tar.bz2
Patch0: pid-dir.patch
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
Requires(post): %fillup_prereq
@@ -40,10 +39,10 @@ allow 10 microseconds of runtime for 1 second of clock time.
%autosetup -v -p1 -n %{name}-v%{version}
%build
%make_build USE_BPF=0 SOPTS="" CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" stalld
%make_build USE_BPF=0 SOPTS="" CFLAGS="%{optflags} %{build_cflags} -DVERSION=\\\"%{version}\\\"" stalld
%install
%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
%make_install USE_BPF=0 DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
%make_install -C systemd UNITDIR=%{_unitdir}
mkdir -p %{buildroot}%{_fillupdir}
mv %{buildroot}%{_sysconfdir}/sysconfig/%{name} %{buildroot}%{_fillupdir}/sysconfig.%{name}