Comment 0 for bug 383872

Revision history for this message
Pascal Hofmann (pascalhofmann) wrote : Make init scripts LSB-compliant

Check whether the init scripts are LSB-compliant and fix them if not.

See: http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

When trying to stop mmmd_mon (version 1.x) via heartbeat this happens:

Jun 4 16:19:45 webserver1 ResourceManager[30311]: info: Running /etc/init.d/mmm_mon stop
Jun 4 16:19:45 webserver1 ResourceManager[30311]: ERROR: Return code 1 from /etc/init.d/mmm_mon
Jun 4 16:19:45 webserver1 ResourceManager[30311]: ERROR: Resource script for mmm_mon probably not LSB-compliant.
Jun 4 16:19:45 webserver1 ResourceManager[30311]: WARN: it (mmm_mon) MUST succeed on a stop when already stopped

Also affects MMM 2.0 I think