Fix crond cannot find command mdadm

Signed-off-by: tangyuchen <tangyuchen5@huawei.com>
(cherry picked from commit c21dc5cb0ed212c553fa4c63ff4cfaa9d95af6fb)
This commit is contained in:
tangyuchen 2023-04-24 09:47:09 +08:00 committed by openeuler-sync-bot
parent 61b9466905
commit 941ab042df
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: mdadm
Version: 4.1
Release: rc2.0.13
Release: rc2.0.14
Summary: The software RAID arrays user manage tools
License: GPLv2+
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
@ -93,6 +93,9 @@ install -d -m 710 %{buildroot}/var/run/mdadm/
%{_mandir}/man*/*
%changelog
* Mon Apr 24 2023 tangyuchen <tangyuchen5@huawei.com> - 4.1-rc2.0.14
- fix crond cannot find command mdadm
* Fri Jan 6 2023 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 4.1-rc2.0.13
- fix Null deference in super_by_fd

View File

@ -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"