Thanks for reporting this bug.  It looks like configure.ac wants to set
MAILCMD to either mailx or mail, whicherver it finds.

So this should be fixed by adding bsd-mailx or mailutils to the Build-
Depends.

** Changed in: heartbeat (Ubuntu)
   Importance: Undecided => Medium

** Changed in: heartbeat (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to heartbeat in Ubuntu.
https://bugs.launchpad.net/bugs/567581

Title:
  MAILCMD not set: complain to the packager

Status in “heartbeat” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: heartbeat

  If you add the following to your heartbeat config

  MailTo::[email protected]

  in the /etc/heartbeat/haresources file then on fallover the following
  is shown in the logs;

  ResourceManager[13089]: info: Running /etc/ha.d/resource.d/MailTo 
[email protected] stop
  MailTo[14344]: ERROR: MAILCMD not set: complain to the packager
  MailTo[14331]: ERROR:  Program is not installed
  ResourceManager[13089]: ERROR: Return code 5 from /etc/ha.d/resource.d/MailTo
  MailTo[14379]: INFO:  Resource is stopped

  
  Looking at  /usr/lib/ocf/resource.d/heartbeat/.ocf-binaries  it appears 
nothing has been set in the $MAILCMD section of that config. Im not 100% sure 
what should be placed in there to resolve the issue. Im guessing its something 
like "/usr/sbin/sendmail", but im not sure what options should be passed to 
sendmail for this to work.

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to