public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Philip Kovacs <pkfed@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/slurm] epel10: Correct log rotation problems (#2016683, #2018508)
Date: Wed, 22 Jul 2026 07:55:33 GMT [thread overview]
Message-ID: <178470693300.1.10044772997715475682.rpms-slurm-08b8e5edbaeb@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-22 7:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178470693300.1.10044772997715475682.rpms-slurm-08b8e5edbaeb@fedoraproject.org \
--to=pkfed@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox