[Date Prev][Date Next]
Re: (ITS#5134) dbconfig vs. DB_CONFIG
> firstname.lastname@example.org wrote:
>>> The slapd-bdb(5) man page seems to me unclear with respect to the
>>> directive. In fact, what I gather from the text is that if no
>>> exists, any dbconfig directive will be used to generate one; otherwise,
>>> existing DB_CONFIG file will not be altered. What is unclear is what
>>> happens if
>>> both a DB_CONFIG file and any dbconfig directives exist, and they
>>> takes the precedence? What if any dbconfig directive is not present in
>>> DB_CONFIG file?
>> I would say since dbconfig directives only work on a restart of slapd,
>> that if a DB_CONFIG is present, the DB_CONFIG should *always* take
>> precedence. If dbconfig changes could make a difference via back-config,
>> which they can't without a restart, then dbconfig stuff should override
>> any DB_CONFIG.
> I think the point is not what the code should (or should not) do, or
> whether its current behavior is correct or not; it's rather that the man
> page, as far as I understand it, is not clear about what the code
> currently does.
Ok, well the text should reflect what the code does. I think I'm missing
the point of your question. If the text doesn't currently match what is
actually happening in the code, then we fix the man page so it does.