mdadm monitor feature broken, email notification not set up, nor using beep/wall/notify-send
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
Anybody who cares enough about redundancy to use mdadm probably cares enough to want getting informed if redundancy is degraded.
Debian systems do have at least local mail enabled and package mdadm asks for a mail address to notify during mdadm install.
By default ubuntu systems do not support local mail, and the mdadm package was patched to suppress the installation of an MTA/MDA (only if installed during the initial installation Bug #379882 ), without adapting mdadm --monitor to use "wall" or "notify-send" as a replacement.
As informing a human is a serious data protection topic, mdadm should depend on a package providing at least local mail services and/or use beep/wall/
---
The monitoring facility of mdadm is very important to get notice if somthing goes wrong with your raid.
So you can replace disks etc. ahead of a total failure.
To send out notifications mdadm needs a sendmail command (MTA mail transport agent ).
To deliver mail localy you need a mail delivery agent (MDA)
Things like exim, postfix open network ports and are large and not easy to configure, but of course provide the sendmail command and delivery.
If no MTA/MDA is installed, yes mdadm should pull in (require) one.
However, maybe a small replacement like esmtp + procmail (if they are
supported) instead of postfix on desktops.
---
Workaround to manually set up local delivery for email send to "root":
#apt-get install postfix procmail
# (choose to configure for local use only)
#echo "root: <YOUR-USER-
#newaliases
#mdadm --monitor /dev/md0 --test
#^C
Then set up an mail program to check for email in your local mailbox
(/var/mail/
summary: |
- mdadm monitor feature is disabled, not depending on local MTA/MDA or + mdadm monitor feature broken, not depending on local MTA/MDA or using wall/notify-send |
description: | updated |
tags: | added: kernel-series-unknown |
tags: | removed: kernel-series-unknown |
Changed in mdadm (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
description: | updated |
summary: |
- mdadm monitor feature broken, not depending on local MTA/MDA or using - wall/notify-send + mdadm monitor feature broken, not depending on local MTA/MDA nor using + beep/wall/notify-send |
description: | updated |
summary: |
- mdadm monitor feature broken, not depending on local MTA/MDA nor using + mdadm monitor feature broken, email notification not set up, nor using beep/wall/notify-send |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
manual workaround: install esmtp and procmail (and configure procmail as local delivery agent, see /usr/share/ doc/esmtp)