Bug 26404 - minor dirt :)
Summary: minor dirt :)
Status: CLOSED DUPLICATE of bug 25641
Alias: None
Product: Sisyphus
Classification: Development
Component: mdadm (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 16:45 MSK by Michael Shigorin
Modified: 2011-10-04 17:31 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***