Package: ctdb
Version: 1.0.112-12-1
Severity: normal
Tags: patch squeeze
The script /etc/ctdb/events.d/41.httpd call is_ctdb_managed_service which by
default check if "$service_name" is enabled. This is not correct for apache as
service_name is "apache2" and ctdb enables "httpd".
The fix is easy (see attached patch).
This is a stability patch and I plan to upload it to squeeze-proposed-updates.
Index: ctdb-1.0.112-12/config/events.d/41.httpd
===================================================================
--- ctdb-1.0.112-12.orig/config/events.d/41.httpd 2011-07-22 23:59:47.000000000 +0200
+++ ctdb-1.0.112-12/config/events.d/41.httpd 2011-07-23 00:00:09.000000000 +0200
@@ -35,7 +35,7 @@
ctdb_start_stop_service
-is_ctdb_managed_service || exit 0
+is_ctdb_managed_service httpd || exit 0
case "$1" in
startup)