[Openais] [PATCH] Use objdb

Steven Dake sdake at redhat.com
Mon Apr 10 12:37:16 PDT 2006


On Mon, 2006-04-10 at 20:37 +0100, Patrick Caulfield wrote:
> Steven Dake wrote:
> > On Mon, 2006-04-10 at 15:29 +0200, Hans Feldt wrote:
> >> Patrick Caulfield wrote:
> >>> Hans Feldt wrote:
> >>>
> >>>> A couple of things:
> >>>>
> >>>> 1. The default user/group config is not working. A line with:
> >>>>
> >>>>    objdb->object_find_reset (OBJECT_PARENT_HANDLE);
> >>>>
> >>>> before the aisexec section fixes the problem.
> >>>>
> >>>> 2. BUILD_DYNAMIC=0 does not work. amfconfig.c missing in build.
> >>>
> >>> Good catch, I've fixed those two now. (patch attached).
> >> OK.
> >>
> >>>> 4. I think the location of openais.conf should be configurable at the
> >>>> aisexec command line and not at compile time. Of course defaults to
> >>>> /etc/ais.
> >> In order to specify location of openais.conf on the command line, the 
> >> interface to aisparser.c needs a change. Is it OK to change the 
> >> config_readconfig prototype in config.h? I need a "char *config_file* there.
> >>
> > 
> > use environment variable - see previous post.
> 
> 
> How about making aisparser read its config filename from an environment 
> variable ?
> 

yes this was the suggestion, although if no config environment variable
is present the defaults will be used.

> Patrick




More information about the Openais mailing list