[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5134) dbconfig vs. DB_CONFIG



Le Jeu 13 septembre 2007 22:40, Howard Chu a écrit :
> Raphaël Ouazana-Sustowski wrote:
>> Hi,
>>
>> Le Jeu 13 septembre 2007 21:29, hyc@symas.com a écrit :
>>> There is nothing ambiguous here. When slapd.conf is being used, the
>>> dbconfig
>>> directive *only* takes effect *if* no DB_CONFIG file exists. If one
>>> exists, the
>>> dbconfig directives are ignored.
>>
>> So if someone first create its DB_CONFIG by putting dbconfig directives
>> in
>> slapd.conf, and then modify these directives, the modification has no
>> effect ?
>
> Correct.
>
>> Reading the man page, I thought that the directives don't modify
>> DB_CONFIG, but were applied at slapd's startup.
>
> For slapd.conf, the directives can only take effect after they are written
> to
> DB_CONFIG. They will only be written to DB_CONFIG at startup time, and
> only if
> no such file already existed.
>
> The main reason this directive was added was for the benefit of cn=config.
> Using it in slapd.conf is rather pointless. Once you start managing slapd
> through cn=config, you are expected to stop editing DB_CONFIG manually.

Thank you very much for the clarification.

Just for the records, it seems that Debian packages (and maybe others) use
dbconfig directives without warning users that they should not modify
these parameters here...

Regards,
Raphael Ouazana.