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?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core