On 6/20/19 3:35 PM, Adrian Bunk wrote:
On Thu, Jun 20, 2019 at 11:14:03AM +0800, [email protected] wrote:
From: Changqing Li <[email protected]>

1. mdadm: No mail address or alert command - not monitoring

with --monitor mode, mdadm needs a mail address and/or a program.
This can be given with "mailaddr" and "program" lines to that
monitoring can be started using.

fix by given a mail address, user can replace with a valid one
when use.
...
+        sed -i -e 's/#MAILADDR [email protected]/MAILADDR [email protected]/g' 
${D}${sysconfdir}/mdadm.conf
...
Defaulting to try to send emails to an invalid address is worse than not
having an email address configured.

Looking at the manpages I would have expected syslog-only monitoring to
work if neither mailaddr nor program are configured.
If this isn't working, is this something upstream considers a bug?
Thanks, I will check this, and try find another solution.

cu
Adrian

--
BRs

Sandy(Li Changqing)

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to