[Pacemaker] cluster refuses to start

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Oct 15 15:27:46 UTC 2009


On Thu, Oct 15, 2009 at 05:18:41PM +0200, Johan Verrept wrote:
> 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.

Ah. Then we should just move the HA_VARLOCKDIR processing after
the prefix is expanded.

> See the patch in my other post.

I did, but you were too quick with your reply :)

Thanks,

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




More information about the Pacemaker mailing list