Bug#616688: mdadm: crontab's array check should not report the error

martin f krafft madduck at debian.org
Sun Mar 6 17:49:16 UTC 2011


also sprach Dmitry Katsubo <dma_k at mail.ru> [2011.03.06.1731 +0100]:
> /etc/cron.d/mdadm should call checkarray with "-Q" to ignore the error
> message, which is reported by crontab with email:
> 
> > Subject:  Cron <root at centurion> if [ -x /usr/share/mdadm/checkarray ] && [ $(date +%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi (failed)
> >
> > checkarray: E: MD subsystem not loaded, or /proc unavailable.

Why do you have mdadm installed but no MD subsystem loaded?

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110306/31de6138/attachment.pgp>


More information about the pkg-mdadm-devel mailing list