Changes Prior to this release
- Support 'mailfrom' line in mdadm.conf so the From: line in alert
emails can be explicitly set.
+ - Arrange that SparesMissing (which is similar in import to
+ DegradedArray) generates an Email.
Changes Prior to 2.4.1 release
- Honour --write-mostly when adding to an array without persistent
if (mailaddr &&
(strncmp(event, "Fail", 4)==0 ||
strncmp(event, "Test", 4)==0 ||
+ strncmp(event, "Spares", 6)==0 ||
strncmp(event, "Degrade", 7)==0)) {
FILE *mp = popen(Sendmail, "w");
if (mp) {
priority = LOG_CRIT;
/* Good to know about, but are not failures: */
else if (strncmp(event, "Rebuild", 7)==0 ||
- strncmp(event, "MoveSpare", 9)==0)
+ strncmp(event, "MoveSpare", 9)==0 ||
+ strncmp(event, "Spares", 6) != 0)
priority = LOG_WARNING;
/* Everything else: */
else