[Pacemaker] cluster refuses to start

Johan Verrept Johan.Verrept at able.be
Thu Oct 15 11:18:41 EDT 2009


On Thu, 2009-10-15 at 17:16 +0200, Dejan Muhamedagic wrote:

> configure.ac says:
> 
> for HA_VARLOCKDIR in ${localstatedir}/lock ${localstatedir}/spool/lock ${localstatedir}/spool/locks ${localstatedir}/lock
> do
>   if
>       test -d "$HA_VARLOCKDIR"
> 	    then
> ...
> 
> probably not sufficient if none of those directories exists.
> 
> Not sure how to fix this. Best to create your $prefix/var/lock
> and then recompile.

No. The dirextory exists. The problem is that ${prefix} in
${localstatedir} does not get substituted during configure until a few
lines below the assignment for HA_VARLOCKDIR, which ends up with
${prefix} in it and this is not expanded. See the comment 10 lines or so
below the snippet you pasted.

See the patch in my other post.

	J.





More information about the Pacemaker mailing list