[Openais] [PATCH] Use objdb

Patrick Caulfield pcaulfie at redhat.com
Mon Apr 10 12:37:38 PDT 2006


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 ?

Patrick



More information about the Openais mailing list