Description: in monitor mode with --scan option also must be set either --mail or --program options. This patch define command 'mdadm --monitor --syslog --scan' as valid (that is no need to add --mail or --program options) Sergei Butakov --- mdadm-2.6.4/Monitor.c.orig 2008-03-07 10:23:10.000000000 +0500 +++ mdadm-2.6.4/Monitor.c 2008-03-07 18:14:02.000000000 +0500 @@ -129,8 +129,8 @@ fprintf(stderr, Name ": Monitor using program \"%s\" from config file\n", alert_cmd); } - if (scan && !mailaddr && !alert_cmd) { - fprintf(stderr, Name ": No mail address or alert command - not monitoring.\n"); + if (scan && !mailaddr && !alert_cmd && !dosyslog) { + fprintf(stderr, Name ": No mail address or alert command or syslog - not monitoring.\n"); return 1; }