[Bug 535417] Re: mdadm monitor feature broken, email notification not set up, nor using beep/wall/notify-send

ceg 535417 at bugs.launchpad.net
Wed Nov 28 09:36:00 UTC 2012


** Description changed:

  Binary package hint: mdadm
  
  Anybody who cares about redundancy to use mdadm probably cares enough
  about redundancy to want being 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 system support no local mail and mdadm package was
  patched to suppress the debconf email question, without setting up mdadm
  --monitor to use wall or notify-send as an alternative.
  
  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/notify-send to get the message out.
  
  ---
  
  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,
  maybe a replacement like esmtp + procmail (if they are supported) but
  not postfix on desktops.
+ 
+ 
+ ---
+ 
+ Workaround to set up local delivery for email send to "root" (to a user
+ mailbox in /var/mail):
+ 
+ #apt-get install esmtp-run procmail
+ #echo mda=\'/usr/bin/formail -a \"Date: \`date -R\`\" \| /usr/bin/procmail -d %T\' >> /etc/esmtprc
+ #echo "root: <your-user-name>" >> /etc/alias
+ #newaliases

** Description changed:

  Binary package hint: mdadm
  
  Anybody who cares about redundancy to use mdadm probably cares enough
  about redundancy to want being 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 system support no local mail and mdadm package was
  patched to suppress the debconf email question, without setting up mdadm
  --monitor to use wall or notify-send as an alternative.
  
  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/notify-send to get the message out.
  
  ---
  
  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,
  maybe a replacement like esmtp + procmail (if they are supported) but
  not postfix on desktops.
  
- 
  ---
  
  Workaround to set up local delivery for email send to "root" (to a user
  mailbox in /var/mail):
  
  #apt-get install esmtp-run procmail
  #echo mda=\'/usr/bin/formail -a \"Date: \`date -R\`\" \| /usr/bin/procmail -d %T\' >> /etc/esmtprc
- #echo "root: <your-user-name>" >> /etc/alias
+ #echo "root: <YOUR-USER-NAME-HERE>" >> /etc/alias
  #newaliases

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/535417

Title:
  mdadm monitor feature broken, email notification not set up, nor using
  beep/wall/notify-send

Status in “mdadm” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: mdadm

  Anybody who cares about redundancy to use mdadm probably cares enough
  about redundancy to want being 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 system support no local mail and mdadm package was
  patched to suppress the debconf email question, without setting up
  mdadm --monitor to use wall or notify-send as an alternative.

  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/notify-send to get the message out.

  ---

  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,
  maybe a replacement like esmtp + procmail (if they are supported) but
  not postfix on desktops.

  ---

  Workaround to set up local delivery for email send to "root" (to a
  user mailbox in /var/mail):

  #apt-get install esmtp-run procmail
  #echo mda=\'/usr/bin/formail -a \"Date: \`date -R\`\" \| /usr/bin/procmail -d %T\' >> /etc/esmtprc
  #echo "root: <YOUR-USER-NAME-HERE>" >> /etc/aliases
  #newaliases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/535417/+subscriptions




More information about the foundations-bugs mailing list