Hi everyone,

please consider merging the following trivial patch that makes the
ceph init script return the proper LSB exit code (3) for the status
action if the service is gracefully stopped, and only return 1 (as
before) if the service has died and left its PID file hanging around.

Who cares about the exit code? Pacemaker does
(http://www.clusterlabs.org). Pacemaker is a high-availability
resource manager that can be used for monitoring and recovering
resources in-place, and as per a brief discussion in #ceph that I had
with Greg before the holidays, no such in-place recovery currently
exists within Ceph itself. Integrating init script based services with
Pacemaker is trivial if the script complies with the exit codes that
the LSB spec specifies.

Feedback on this is much appreciated. Hope this is useful.

Cheers,
Florian

[PATCH] init script: be LSB compliant for exit code on status
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to