Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521820 - app-admin/monit-5.8 stable on ppc
Summary: app-admin/monit-5.8 stable on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL: https://bitbucket.org/tildeslash/moni...
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2014-08-31 13:41 UTC by Stefan G. Weichinger
Modified: 2015-05-15 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan G. Weichinger 2014-08-31 13:41:51 UTC
monit-5.8 has a bug, see mentioned URL.

5.8.1-r1 (also in portage, but unstable so far) works (seems to include the patch already).

Reproducible: Always

Steps to Reproduce:
1. add something like the following to /etc/monitrc:

check host myhost with address myhost
 start program = "/usr/bin/virsh start myhost"
 stop program = "/usr/bin/virsh shutdown myhost"
 if failed icmp type echo count 4 with timeout 15 seconds then restart

2. reload/restart monit

3. make host myhost unreachable via ICMP ...
Actual Results:  
Service is not restarted and logs show:

monit: Start, stop or restart method not defined for process check 'myhost'

Expected Results:  
Service should be correctly restarted by monit (the defined commands should be correctly read and executed).
Comment 1 Patrick Lauer gentoo-dev 2014-10-25 10:42:45 UTC
So the easiest fix is to stable a newer version; done for x86 and amd64

PPC team: please stable =monit-5.9
Comment 2 Pacho Ramos gentoo-dev 2015-05-15 12:02:51 UTC
ppc stable, closing