diff --git a/pid-dir.patch b/pid-dir.patch deleted file mode 100644 index dc776c7..0000000 --- a/pid-dir.patch +++ /dev/null @@ -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 diff --git a/stalld-v1.19.3.tar.bz2 b/stalld-v1.19.3.tar.bz2 deleted file mode 100644 index 28363c8..0000000 --- a/stalld-v1.19.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cb0ae72d9c0562f3bee40be04d923e9581dcbfaef7feb908d8bf777b75150da -size 38577 diff --git a/stalld-v1.19.8.tar.bz2 b/stalld-v1.19.8.tar.bz2 new file mode 100644 index 0000000..dee96fd --- /dev/null +++ b/stalld-v1.19.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fea273093dc56cd18d0d5160f9677f698074788ff7f8b0e354d41c33c0fbad4 +size 39944 diff --git a/stalld.changes b/stalld.changes index 6f2fdc5..98d0cc7 100644 --- a/stalld.changes +++ b/stalld.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon Mar 10 11:04:00 UTC 2025 - Christophe Marin + +- 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 + +- 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 diff --git a/stalld.spec b/stalld.spec index 6407955..bd423c0 100644 --- a/stalld.spec +++ b/stalld.spec @@ -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}