This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - groupd: handle cman config update notifications
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Fri, 31 Oct 2008 10:16:20 +0000 (UTC)
- Subject: master - groupd: handle cman config update notifications
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=4da90fcc6e0d4dde1fac90171fe7149bf145c7ab
Commit: 4da90fcc6e0d4dde1fac90171fe7149bf145c7ab
Parent: 470a9d625f9eea678ec101699e5a798049c803fe
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Mon Oct 27 11:09:49 2008 +0100
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Fri Oct 31 11:13:14 2008 +0100
groupd: handle cman config update notifications
allow at least logging to be reconfigured runtime
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
group/daemon/cman.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/group/daemon/cman.c b/group/daemon/cman.c
index f45d23f..0c0bbfa 100644
--- a/group/daemon/cman.c
+++ b/group/daemon/cman.c
@@ -104,6 +104,9 @@ static void cman_callback(cman_handle_t h, void *private, int reason, int arg)
case CMAN_REASON_STATECHANGE:
statechange();
break;
+ case CMAN_REASON_CONFIG_UPDATE:
+ setup_logging();
+ break;
}
}