On Thu, 28 Jun 2007, Andrew Beekhof wrote:

> [...]
> A bunch of the directories locations are.
> But instead of using the variables defined there, all the RAs redefine
> (for example)
>   [EMAIL PROTECTED]@/run/
> possibly with a different name.

Could you clarify a little?  I thought much of this was already in place.
But perhaps we're talking about subtly different things.

Some time ago, lots of source files, particularly in "resources/OCF" used
to do that sort of "[EMAIL PROTECTED]@/run/" redefinition business.
The multiplicity of such repeated things seemed most undesirable, with
much danger of divergence and inconsistency

So a few months ago, I committed some patches which abstracted that out
into "configure".  That now establishes, just once, a set of common
directory names "HA_VARRUNDIR", "HA_VARRUNHBDIR", "HA_VARRUNHBRSCDIR" and
so on (and similarly for "/etc"-like things).

So the RAs ought to be using (and I think now mostly do) those new
references to directory names, now consistently established by configure.

There may well be scope for further abstraction into a common "." file.

Some other redefinitions also lurk in several "Makefile.in".  A quick grep
reveals "havarrundir" and "havarlibdir" (and similar) things in several of
them.  It would be good to see those removed altogether, as the equivalent
information ought now to present, and now consistently so, in "config.h".

>
> > I think it's only included for the
> > logging stuff.
> >
> > I think that's also something which ought to be cleaned up.
> >
> > David, Matthew, any takers? ;-)
>
> I'll do it, i have a patch i've been kicking around for a few months
> that just needs some polish

Thanks, Andrew!

For me, heartbeat has to be an almost completely spare-time activity to
fitted in around work (heartbeat is not an official part of the day-job),
family, and the rest of life.

Best wishes.


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:  UNIX Team Leader                         Durham University     :
:                                           South Road            :
:  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to