Fix crond cannot find command mdadm

Signed-off-by: tangyuchen <tangyuchen5@huawei.com>
This commit is contained in:
tangyuchen 2023-04-24 09:29:55 +08:00
parent d333f17339
commit 939888b963
2 changed files with 6 additions and 1 deletions

View File

@ -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 <tangyuchen5@huawei.com> - 4.2-7
* fix crond cannot find command mdadm
* Fri Jan 6 2023 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 4.2-6
* fix NULL dereference in super_by_fd

View File

@ -1,2 +1,4 @@
# Run the mdcheck script once on every Saturday for 5 hours
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
0 0 * * 6 root /usr/sbin/mdcheck --duration "5 hours"