Trivial patch to fix init script LSB compliance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux