Bug 2245942 - After an upgrade the LDAP server won't start if nsslapd-conntablesize is present in the dse.ldif file [11.9]
Summary: After an upgrade the LDAP server won't start if nsslapd-conntablesize is pres...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: 389-ds-base
Version: 11.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: LDAP Maintainers
QA Contact: LDAP QA Team
Evgenia Martynyuk
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks: 2245946 2256585 2265539
TreeView+ depends on / blocked
 
Reported: 2023-10-24 16:58 UTC by thierry bordaz
Modified: 2024-02-22 15:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2245946 (view as bug list)
Environment:
Last Closed: 2023-10-25 10:36:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 5956 0 None closed After an upgrade the LDAP server won't start if nsslapd-conntablesize is present in the dse.ldif file 2023-10-24 17:03:18 UTC
Red Hat Issue Tracker IDMDS-3791 0 None None None 2023-10-24 17:06:10 UTC

Description thierry bordaz 2023-10-24 16:58:00 UTC
Description of problem:
After an OS upgrade, the LDAP server won't start.

One needs to remove the nsslapd-conntablesize definition from the /etc/dirsrv/slapd-<INSTANCE>/dse.ldif before the server could be started.

Version-Release number of selected component (if applicable):


How reproducible:


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.

Actual results:
Server fails to start after the upgrade


Expected results:
Server should start after the upgrade


Additional info:

Comment 1 thierry bordaz 2023-10-24 17:32:09 UTC
The fix is pushed upstream -> POST


Note You need to log in before you can comment on or make changes to this bug.