From: Adrian Bunk <bunk@stusta.de>
To: changqing.li@windriver.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] mdadm: fix systemd service start up failure
Date: Thu, 20 Jun 2019 10:35:29 +0300 [thread overview]
Message-ID: <20190620073529.GB27107@localhost> (raw)
In-Reply-To: <1561000443-320248-1-git-send-email-changqing.li@windriver.com>
On Thu, Jun 20, 2019 at 11:14:03AM +0800, changqing.li@windriver.com wrote:
> From: Changqing Li <changqing.li@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@mydomain.tld/MAILADDR root@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?
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
next prev parent reply other threads:[~2019-06-20 7:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 3:14 [PATCH] mdadm: fix systemd service start up failure changqing.li
2019-06-20 7:35 ` Adrian Bunk [this message]
2019-06-20 9:12 ` Changqing Li
2019-06-24 8:08 ` [PATCH V2] " changqing.li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190620073529.GB27107@localhost \
--to=bunk@stusta.de \
--cc=changqing.li@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.