diff --git a/mdadm.spec b/mdadm.spec index 41845ac49b6a985df41325c9104d655398974430..c9e6e379f41902dc03c3d3c67a749b5505f16114 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,6 +1,6 @@ Name: mdadm Version: 4.2 -Release: 6 +Release: 7 Summary: The software RAID arrays user manage tools License: GPLv2+ URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/ @@ -83,6 +83,9 @@ install -d -m 710 %{buildroot}/var/run/mdadm/ %{_mandir}/man*/* %changelog +* Mon Apr 24 2023 tangyuchen - 4.2-7 +* fix crond cannot find command mdadm + * Fri Jan 6 2023 Zhiqiang Liu - 4.2-6 * fix NULL dereference in super_by_fd diff --git a/mdcheck-cron b/mdcheck-cron index e93aa90664688581e8db96aea308aa8346f3ebd5..fcc60bd6c9870f94d103aa897d9b18b090371de5 100644 --- a/mdcheck-cron +++ b/mdcheck-cron @@ -1,2 +1,4 @@ # Run the mdcheck script once on every Saturday for 5 hours +SHELL=/usr/bash +PATH=/sbin:/bin:/usr/sbin:/usr/bin 0 0 * * 6 root /usr/sbin/mdcheck --duration "5 hours"