[OE-core] [PATCH] mdadm: fix systemd service start up failure

Changqing Li changqing.li at windriver.com
Thu Jun 20 09:12:27 UTC 2019


On 6/20/19 3:35 PM, Adrian Bunk wrote:
> On Thu, Jun 20, 2019 at 11:14:03AM +0800, changqing.li at windriver.com wrote:
>> From: Changqing Li <changqing.li at windriver.com>
>>
>> 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 root at mydomain.tld/MAILADDR root at mydomain.tld/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)



More information about the Openembedded-core mailing list