public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slurm] epel10: Correct log rotation problems (#2016683, #2018508)
@ 2026-07-22 7:55 Philip Kovacs
0 siblings, 0 replies; only message in thread
From: Philip Kovacs @ 2026-07-22 7:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/slurm
Branch : epel10
Commit : 08b8e5edbaeb5924a45512693c14200342f07dbf
Author : Philip Kovacs <pkfed@fedoraproject.org>
Date : 2021-10-31T19:27:15-04:00
Stats : +6/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/slurm/c/08b8e5edbaeb5924a45512693c14200342f07dbf?branch=epel10
Log:
Correct log rotation problems (#2016683, #2018508)
---
diff --git a/slurm.spec b/slurm.spec
index 494e73a..f4b847a 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -16,7 +16,7 @@
Name: slurm
Version: 21.08.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Simple Linux Utility for Resource Management
License: GPLv2 and BSD
URL: https://slurm.schedmd.com/
@@ -318,7 +318,7 @@ EOF
install -d -m 0755 %{buildroot}%{_var}/log/%{name}
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
cat >%{buildroot}%{_sysconfdir}/logrotate.d/%{name} <<EOF
-%{_var}/log/%{name}/* {
+%{_var}/log/%{name}/*.log {
missingok
notifempty
copytruncate
@@ -408,6 +408,7 @@ rm -f %{buildroot}%{_unitdir}/slurmrestd.service
%dir %{_var}/spool/%{name}/d
%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%{_bindir}/sacct
%{_bindir}/sacctmgr
%{_bindir}/salloc
@@ -498,7 +499,6 @@ rm -f %{buildroot}%{_unitdir}/slurmrestd.service
%{_mandir}/man5/topology.conf.5*
%{_mandir}/man8/slurmrestd.8*
%{_mandir}/man8/spank.8*
-%{_sysconfdir}/logrotate.d/%{name}
%{_sysconfdir}/%{name}/cgroup*.conf.example
%{_sysconfdir}/%{name}/slurm.conf.example
%{_tmpfilesdir}/slurm.conf
@@ -746,6 +746,9 @@ fi
%systemd_postun_with_restart slurmdbd.service
%changelog
+* Sun Oct 31 2021 Philip Kovacs <pkfed@fedoraproject.org> - 21.08.2-2
+- Correct log rotation problems (#2016683, #2018508)
+
* Fri Oct 8 2021 Philip Kovacs <pkfed@fedoraproject.org> - 21.08.2-1
- Update to 21.08.2
- Added Fedora patches to support pmix v4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-22 7:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 7:55 [rpms/slurm] epel10: Correct log rotation problems (#2016683, #2018508) Philip Kovacs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox