Patch3:
Default settings of "notify" and "globally_unique" for master_slave have
been moved into "meta_attributes". Remove them from attlist.

Attached the patch.

Signed-off-by: Yan Gao <[EMAIL PROTECTED]> 



-- 
Yan Gao
China R&D Software Engineer
[EMAIL PROTECTED]

Novell, Inc.
SUSEĀ® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux
# HG changeset patch
# User Yan Gao <[EMAIL PROTECTED]>
# Date 1197453413 -28800
# Node ID 5112c99a214e9f524b54d014b17267c963976f74
# Parent  e220761c915a3d05befd1eee958c6f6a6ccfcfc8
mgmt: Remove the default settings for master_slave from attlist

diff -r e220761c915a -r 5112c99a214e mgmt/daemon/mgmt_crm.c
--- a/mgmt/daemon/mgmt_crm.c	Wed Dec 12 17:23:57 2007 +0800
+++ b/mgmt/daemon/mgmt_crm.c	Wed Dec 12 17:56:53 2007 +0800
@@ -1099,7 +1099,7 @@ on_add_rsc(char* argv[], int argc)
 	if (master) {
 		get_meta_attributes_id(argv[7], meta_attrs_id);
 		snprintf(buf, MAX_STRLEN,
-			 "<master_slave id=\"%s\" notify=\"true\" globally_unique=\"false\">" \
+			 "<master_slave id=\"%s\">" \
 			 "<meta_attributes id=\"%s\"><attributes>" \
 			 "<nvpair id=\"%s_metaattr_target_role\" name=\"target_role\" value=\"stopped\"/>" \
 			 "<nvpair id=\"%s_metaattr_clone_max\" name=\"clone_max\" value=\"%s\"/>" \
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to