Red Hat Bugzilla – Bug 165172
slapd aborts on startup when /etc/openldap/ldap.conf contains an invalid TLS_CACERT entry
Last modified: 2015-01-07 19:10:23 EST
Description of problem:
Use the specified /etc/openldap/ldap.conf file and any slapd.conf file you
want. When you try to start slapd, it aborts with
slapd: ../../../libraries/libldap_r/rdwr.c:93: ldap_pvt_thread_rdwr_destroy:
Assertion `rw != ((void *)0)' failed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 241821 [details]
The readability of the CACERT file can be checked in init script, in the same
way as TLS files from slapd.conf.
User will see during startup:
/mnt/testarea/ca.crt is not readable by "ldap" [WARNING]
Starting slapd: [FAILED]
This should be enough for the user to trace down his/her error.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
Since there will be only one more release of RHEL4 and it will be focused on performance and security, I'm closing this bug. If anyone experiences problems with this bug, I recommend switching to RHEL5, where this has already been fixed.