Notification time stamped 2021-11-01 01:30:19 UTC
From edd81883d50730b54028a40c6c56e527cfa89352 Mon Sep 17 00:00:00 2001 From: Philip Kovacs pkfed@fedoraproject.org Date: Nov 01 2021 01:30:13 +0000 Subject: Correct log rotation problems (#2016683, #2018508)
---
diff --git a/slurm.spec b/slurm.spec index 87a7c7a..676d6ed 100644 --- a/slurm.spec +++ b/slurm.spec @@ -16,7 +16,7 @@
Name: slurm Version: 20.11.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple Linux Utility for Resource Management License: GPLv2 and BSD URL: https://slurm.schedmd.com/ @@ -333,7 +333,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 @@ -423,6 +423,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 @@ -509,7 +510,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 @@ -769,6 +769,9 @@ fi %systemd_postun_with_restart slurmdbd.service
%changelog +* Sun Oct 31 2021 Philip Kovacs pkfed@fedoraproject.org - 20.11.8-2 +- Correct log rotation problems (#2016683, #2018508) + * Sat Jul 3 2021 Philip Kovacs pkfed@fedoraproject.org - 20.11.8-1 - Update to 20.11.8
https://src.fedoraproject.org/rpms/slurm/c/edd81883d50730b54028a40c6c56e527c...
scm-commits@lists.fedoraproject.org