[Debian-ha-maintainers] Bug#706134: emergency notification email is lost
Harald Dunkel
harald.dunkel at aixigo.de
Thu Apr 25 09:21:55 UTC 2013
Package: drbd8-utils
Version: 2:8.3.13-2
Drbd's notify.sh script does not wait for the EMail to be forwarded
to the next MTA. The last line
echo "$BODY" | mail -s "$SUBJECT" $RECIPIENT
generates an EMail using an SMTP connection to localhost and exits.
While the local sendmail is busy to forward the EMail to the next
MTA, drbd does a
echo b > /proc/sysrq-trigger
(according to the default configuration), which means an immediate
shutdown without waiting for any IO. Hence the EMail is not delivered.
I know the emergency procedures have been commented out due to #576511,
but this doesn't fix the script. Many users will simply enable these
lines again.
Regards
Harri
More information about the Debian-ha-maintainers
mailing list