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

Fabio M. Di Nitto fabbione at fedoraproject.org
Mon Sep 19 07:21:02 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3423ebfdd1855cd9dfd760c640416b8e31aaafb7
Commit:        3423ebfdd1855cd9dfd760c640416b8e31aaafb7
Parent:        c79c32e88eb21219298bde15fb3e537cfb76f002
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: Mon Sep 19 09:20:38 2011 +0200

cman: fix copying uidgid trees to corosync

Resolves: rhbz#733345

Acked-by: Lon Hohberger <lhh at redhat.com>
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 7d60226..13949ec 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -1566,7 +1566,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