Bug 26404

Summary: minor dirt :)
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: mdadmAssignee: Alexey Shabalin <shaba>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P3 CC: evg, shaba, vitty
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2011-10-04 16:45:32 MSK
It might be nice to avoid this complaint in cronjo reports:
/usr/share/mdadm/checkarray: line 102: AUTOCHECK: unbound variable
by adding AUTOCHECK= line somewhere above the line sourcing /etc/sysconfig/mdadm

PS: some king of trivial wrapper to run the whole thing as a cronjob might be nice as well since the message subject reads as follows:

> Subject: Cron <root@t-hard> if [ -x /usr/share/mdadm/checkarray ] && [ $(date %d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi

(the wrapper could also allow for some flexibility regarding frequency)
Comment 1 Evgenii Terechkov 2011-10-04 17:31:03 MSK
http://git.altlinux.org/people/vitty/packages/?p=mdadm.git;a=commitdiff;h=7f6f5538d7e563ee63c65a8d506373b8098108e4

*** This bug has been marked as a duplicate of bug 25641 ***