Issue
Upstream ticket is 5956
What were you trying to do that didn't work?
After an OS upgrade, the LDAP server won't start.
# ipactl start
Starting Directory Service
Failed to start Directory Service: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv@<INSTANCE>.service'] returned non-zero exit status 1)
#
One needs to remove the nsslapd-conntablesize definition from the /etc/dirsrv/slapd-<INSTANCE>/dse.ldif before the server could be started.
Please provide the package NVR for which bug is seen:
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.8 (Ootpa)
#
# rpm -qa | grep 389-ds
389-ds-base-libs-1.4.3.35-2.module+el8.8.0+19693+b24f535c.x86_64
389-ds-base-1.4.3.35-2.module+el8.8.0+19693+b24f535c.x86_64
#
How reproducible:
Always.
Steps to reproduce
Configure a custom value for the CT size ( so the configuration parameter nsslapd-conntablesize is present in the dse.ldif file )
Upgrade the system
The LDAP server won't start after the upgrade
From the errors log:
[17/Oct/2023:14:45:29.422170234 +0200] - ERR - dse_read_one_file - The entry cn=config in file /etc/dirsrv/slapd-<INSTANCE>/dse.ldif (lineno: 17) is invalid, error code 1 (Operations error) - User setting of nsslapd-conntablesize attribute is disabled, server has auto calculated its value to 0.
[17/Oct/2023:14:45:29.493095110 +0200] - ERR - init_dse_file - Could not load config file [dse.ldif]
[17/Oct/2023:14:45:29.494808167 +0200] - ERR - setup_internal_backends - Please edit the file to correct the reported problems and then restart the server.
Expected results
Working LDAP server
Actual results
LDAP server cannot be started.