[packages/mdadm] - systemd shutdown fix - 7th could be the first Sunday of the mounth

bszx bszx at pld-linux.org
Sat Sep 6 10:10:20 CEST 2025


commit 41ea8d8d69e5e2b01223e5f348dfd60afa2ab5b4
Author: Bartek Szady <bszx at bszx.eu>
Date:   Sat Sep 6 09:38:25 2025 +0200

    - systemd shutdown fix
    - 7th could be the first Sunday of the mounth

 cronjob-mdadm.timer | 2 +-
 mdadm.spec          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/mdadm.spec b/mdadm.spec
index b0e03b7..c5291dc 100644
--- a/mdadm.spec
+++ b/mdadm.spec
@@ -8,7 +8,7 @@ Summary:	Tool for creating and maintaining software RAID devices
 Summary(pl.UTF-8):	Narzędzie do tworzenia i obsługi programowych macierzy RAID
 Name:		mdadm
 Version:	4.3
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Base
 Source0:	https://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.xz
@@ -153,7 +153,7 @@ fi
 %attr(755,root,root) %{_sbindir}/mdadm-checkarray
 %attr(755,root,root) %{_sbindir}/mdctl
 %attr(755,root,root) %{_sbindir}/mdmon
-%{systemdunitdir}-shutdown/mdadm.shutdown
+%attr(755,root,root) %{systemdunitdir}-shutdown/mdadm.shutdown
 %{systemdunitdir}/mdadm-grow-continue at .service
 %{systemdunitdir}/mdadm-last-resort at .service
 %{systemdunitdir}/mdadm-last-resort at .timer
diff --git a/cronjob-mdadm.timer b/cronjob-mdadm.timer
index 21ed577..dcf7f5c 100644
--- a/cronjob-mdadm.timer
+++ b/cronjob-mdadm.timer
@@ -2,7 +2,7 @@
 Description=mdadm-checkarray cronjob timer
 
 [Timer]
-OnCalendar=Sun *-*-1,2,3,4,5,6 00:57:00
+OnCalendar=Sun *-*-1,2,3,4,5,6,7 00:57:00
 
 [Install]
 WantedBy=cronjobs.target
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mdadm.git/commitdiff/41ea8d8d69e5e2b01223e5f348dfd60afa2ab5b4



More information about the pld-cvs-commit mailing list