cluster: STABLE31 - cman: fix copying uidgid trees to corosync

Fabio M. Di Nitto fabbione at fedoraproject.org
Fri Sep 16 14:14:36 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=888ff2ebc6114b21dcae2e0bae002d613d92e33c
Commit:        888ff2ebc6114b21dcae2e0bae002d613d92e33c
Parent:        2ead34f00923c3ff4049e3f6f13c1b8811b38c01
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Fri Sep 16 16:13:50 2011 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Fri Sep 16 16:13:50 2011 +0200

cman: fix copying uidgid trees to corosync

Resolves: rhbz#733345

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 cman/daemon/cman-preconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index d5e7a92..fb534a9 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -1540,7 +1540,7 @@ static int cmanpre_readconfig(struct objdb_iface_ver0 *objdb, const char **error
 		ret = copy_tree_to_root(objdb, "amf", 0);
 		ret = copy_tree_to_root(objdb, "aisexec", 0);
 		ret = copy_tree_to_root(objdb, "service", 1);
-		ret = copy_tree_to_root(objdb, "uidgid", 0);
+		ret = copy_tree_to_root(objdb, "uidgid", 1);
 	}
 
 	objdb->object_find_create(cluster_parent_handle, "cman", strlen("cman"), &find_handle);


More information about the cluster-commits mailing list