[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Strange error messages in /var/log/messages



On Wed, 2008-10-15 at 11:48 -0400, jim parsons wrote:
> On Wed, 2008-10-15 at 11:42 -0400, jim parsons wrote:
> > On Wed, 2008-10-15 at 16:01 +0100, Virginian wrote:
> > 
> > >         <fence_xvmd/>
> > 
> > This tag does not need to be in the inner clusters' (dom u cluster) conf file, only the cluster set up on the physical hosts.
> > 
> > That might be the problem - easy enough to check! :)
> 
> It would be fun to know if the above fixes the issue. Please let me
> know.

I think I see it.

-- Lon
diff --git a/fence/agents/xvm/options-ccs.c b/fence/agents/xvm/options-ccs.c
index a4b7987..0384aee 100644
--- a/fence/agents/xvm/options-ccs.c
+++ b/fence/agents/xvm/options-ccs.c
@@ -65,6 +65,9 @@ args_get_ccs(char *optstr, fence_xvm_args_t *args)
 			continue;
 		}
 
+		if (!arg->stdin_opt)
+			continue;
+
 		n = snprintf(buf, sizeof(buf), "/cluster/fence_xvmd/@%s\n",
 			     arg->stdin_opt);
 		if (n == sizeof(buf)) {

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]