[Date Prev][Date Next]
Re: (ITS#4128) back-config core dumps when initializing directory
> Full_Name: Pierangelo Masarati
> Version: HEAD
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (184.108.40.206)
> Submitted by: ando
> When initializing back-config (either with slapd or slaptest) for an existing
> directory, i.e. launching the tool/daemon with both -f and -F, slapd core dumps
> because slap_queue_csn() tries to lock/unlock a NULL op->o_bd->be_pcl_mutexp
> pointer. I think the "right" solution is to not request CSN management within
> back-ldif when calling slap_add_opattrs() if op->o_bd->be_pcl_mutexp is NULL.
> I'm committing a fix in this sense; please review.
I think it's better to fix back-config to do the proper initialization.
Having the timestamps on config writes is worth keeping.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/