This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE2 - cman: Allow connections from unprivilegeduser/group "ais"
- From: Christine Caulfield <chrissie at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 18 Feb 2009 11:16:56 +0000 (UTC)
- Subject: cluster: STABLE2 - cman: Allow connections from unprivilegeduser/group "ais"
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=b0e84b2066f3212586670fb532aad2d1a42bd028
Commit: b0e84b2066f3212586670fb532aad2d1a42bd028
Parent: f563930db4f3d8f0c61df96edaae1932f77bbdc8
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Wed Feb 18 11:16:35 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Feb 18 11:16:35 2009 +0000
cman: Allow connections from unprivileged user/group "ais"
bz#485469
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/daemon/ais.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cman/daemon/ais.c b/cman/daemon/ais.c
index 3f10f63..4d898ea 100644
--- a/cman/daemon/ais.c
+++ b/cman/daemon/ais.c
@@ -593,14 +593,14 @@ static int comms_init_ais(struct objdb_iface_ver0 *objdb)
}
}
- /* Don't run under user "ais" */
+ /* Make sure we allow connections from user/group "ais" */
objdb->object_find_reset(OBJECT_PARENT_HANDLE);
if (objdb->object_find(OBJECT_PARENT_HANDLE, "aisexec", strlen("aisexec"), &object_handle) == 0)
{
objdb->object_key_create(object_handle, "user", strlen("user"),
- "root", strlen("root") + 1);
+ "ais", strlen("ais") + 1);
objdb->object_key_create(object_handle, "group", strlen("group"),
- "root", strlen("root") + 1);
+ "ais", strlen("ais") + 1);
}
/* Make sure we load our alter-ego */