!50 解决crond定时任务mdcheck找不到mdadm命令的问题

From: @twicy 
Reviewed-by: @swf504 
Signed-off-by: @swf504
This commit is contained in:
openeuler-ci-bot 2023-04-24 11:56:38 +00:00 committed by Gitee
commit 7fc090e197
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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"