summaryrefslogtreecommitdiff
path: root/package/Pacemaker-Python-GUI/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
commit6bde5bd7302d9eeca63d55c8b57a6c544e56fe8c (patch)
tree6e81df59d768d51bbbff1e4f8de8c9ddfefa1213 /package/Pacemaker-Python-GUI/patches
parentb35c2c31271fbaa05c5839133f623c84324e34b7 (diff)
push pacemaker stuff in a usable state.
Diffstat (limited to 'package/Pacemaker-Python-GUI/patches')
-rw-r--r--package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c b/package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c
new file mode 100644
index 000000000..1882093d5
--- /dev/null
+++ b/package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c
@@ -0,0 +1,32 @@
+--- Pacemaker-Python-GUI-2.1.0.orig/mgmt/daemon/mgmt_crm.c 2011-08-03 13:54:23.000000000 +0200
++++ Pacemaker-Python-GUI-2.1.0/mgmt/daemon/mgmt_crm.c 2011-10-07 16:15:59.000000000 +0200
+@@ -1393,7 +1393,7 @@ on_cleanup_rsc(char* argv[], int argc)
+ argv[1], cib_error2string(rc));
+ } else {
+ buffer = crm_concat("fail-count", argv[2], '-');
+- delete_attr(cib_conn, cib_sync_call, XML_CIB_TAG_STATUS, dest_node, NULL, NULL,
++ delete_attr(cib_conn, cib_sync_call, XML_CIB_TAG_STATUS, dest_node, NULL,
+ NULL, buffer, NULL, FALSE);
+ crm_free(dest_node);
+ crm_free(buffer);
+@@ -1403,7 +1403,7 @@ on_cleanup_rsc(char* argv[], int argc)
+ sleep(2); /* wait for the refresh */
+ now_s = crm_itoa(now);
+ update_attr(cib_conn, cib_sync_call,
+- XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, "last-lrm-refresh", now_s, FALSE);
++ XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, "last-lrm-refresh", now_s, FALSE);
+ crm_free(now_s);
+
+ crmd_channel->ops->destroy(crmd_channel);
+@@ -1509,9 +1509,11 @@ on_get_rsc_status(char* argv[], int argc
+ strncat(buf, " (orphaned)", sizeof(buf)-strlen(buf)-1);
+ }
+
++ /*
+ if(is_set(rsc->flags, pe_rsc_failure_ignored)) {
+ strncat(buf, " (failure ignored)", sizeof(buf)-strlen(buf)-1);
+ }
++ */
+
+ ret = mgmt_msg_append(ret, buf);
+ break;