[Pacemaker] cluster refuses to start

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Oct 15 11:22:05 EDT 2009


Hi,

On Thu, Oct 15, 2009 at 05:10:46PM +0200, Johan Verrept wrote:
> On Thu, 2009-10-15 at 16:23 +0200, Johan Verrept wrote:
> > For some reason, when building glue, HA_VARLOCKDIR is incorrectly
> > #defined as "${prefix}/var/lock"
> > 
> > ./include/glue_config.h:#define HA_VARLOCKDIR "${prefix}/var/lock"
> 
> The attached patch solves the problem.
> 
> 	J.

> --- Reusable-Cluster-Components-f8d8f7b2124a/configure.ac.orig	2009-10-15 15:01:35.000000000 +0000
> +++ Reusable-Cluster-Components-f8d8f7b2124a/configure.ac	2009-10-15 15:07:32.000000000 +0000
> @@ -229,6 +229,7 @@
>      break
>    fi
>  done
> +eval HA_VARLOCKDIR="${HA_VARLOCKDIR}"

Good patch, though it won't help you unless you create the
directory which may not be exactly obvious, i.e. you would run
into exactly the same problem, but just won't need to recompile,
and I wonder how many people would be capable of doing the
problem analysis as you have done. Perhaps it'd be better to exit
with error and thus force the user to create the directory first.
What do you think?

Thanks,

Dejan

>  AC_SUBST(HA_VARLOCKDIR)
>  AC_DEFINE_UNQUOTED(HA_VARLOCKDIR,"$HA_VARLOCKDIR", System lock directory)

> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list