[Date Prev][Date Next]
Re: (ITS#3748) back-config: creating a new database requires restarting slapd
On Wednesday 25 May 2005 10:12, firstname.lastname@example.org wrote:
> Currently it doesn't seem to be possible to create and use a new
> database (bdb or whatever) without restarting the server. Is that
> correct? If I understand things correctly backend_startup_one()
> should to be called after an "olcDatabase"-entry was added. But
> currently bconfig doesn't seem to provide hooks for that. Am I
> correct with that or did I miss something?
I just saw that there were changes in bconfig.c from HEAD to address
this issue. Unfortunately that still doesn't work correctly for
back-dbd. I assume that this is because backend_startup_one() and
bdb_db_open() gets called before the suffix and the directory
attributes are known.
The following entry causes slapd to crash in bdb_db_open() now: