Description of problem: 389-ds-base has to be bumped to fix issue #7144, which prevents users from updating the 389-ds backend - which was deprecated in fedora 43. Without this fix: https://github.com/389ds/389-ds-base/commit/afffed9ede9fa729a26f482767f0f837faf8323f It will just segfault and you can't update. Version-Release number of selected component (if applicable): 3.1.4 How reproducible: 100% Steps to Reproduce: 1. install freeipa on fedora 42 or ealier 2. upgrade to 43 3. freeipa can't update or run Actual results: segfault Expected results: working Additional info: FreeIPA is completely dependent on this working.
Hi, afffed9ede9fa729a26f482767f0f837faf8323f is included in 3.1.4, so likely you're hitting another issue. Could you please share coredump that you mentioned in https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org/thread/UC475ZVS5JQK3QJEBIVJSWQFLZONOUM4/ ? Thanks.
Created attachment 2132035 [details] coredump
Had to get dns working, the trace from abrt shows: #0 0x00007fedb275ff66 in bdb_get_page_count (db=<optimized out>, count=count@entry=0x560ec3689b68) at ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c:1795 1795 *count = rc ? 0 : stats->bt_pagecnt; Thread 1 (Thread 0x7fedb582bc80 (LWP 1574)): #0 0x00007fedb275ff66 in bdb_get_page_count (db=<optimized out>, count=count@entry=0x560ec3689b68) at ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c:1795 stats = 0x0 rc = 0 #1 0x00007fedb276036d in bdb_get_inst_page_count (li=<optimized out>, inst=0x560ec3689970) at ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c:1876 return_value = 0 id2entry_file = 0x0 inst_dirp = 0x7ffce194b9a0 "/var/lib/dirsrv/slapd-XERCES-LAN/db/userRoot" mypEnv = 0x560ec3930270 open_flags = 16384 id2entry_db = 0x560ec3921cb0 priv = 0x560ec356e2d0 inst_dir = "/var/lib/dirsrv/slapd-XERCES-LAN/db/userRoot", '\000' <repeats 4036 times>... conf = 0x560ec3657f20 data_directories = {0x560ec38db3d0 "/var/lib/dirsrv/slapd-XERCES-LAN/db", 0x0} cachesize = 33554432
Created attachment 2132037 [details] proposed patch I've built a new version of 389-ds-base with the attached patch: https://copr.fedorainfracloud.org/coprs/vashirov/bz2444400/ Could you please try it and see if it helps? Thanks.
Upstream issue: https://github.com/389ds/389-ds-base/issues/7302 PR: https://github.com/389ds/389-ds-base/pull/7303
dsctl slapd-XERCES-LAN dblib bdb2mdb cleanup dbmapdir=/var/lib/dirsrv/slapd-XERCES-LAN/db dbhome=/dev/shm/slapd-XERCES-LAN dblib=bdb Required space for LDIF files is about 17.0 MB Required space for DBMAP files is about 41.4 MB Required number of dbi is 256 Backends exportation 0.000000% (changelog) ldiffile: /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-changelog.ldif Backends exportation 0.634202% (ipaca) ldiffile: /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-ipaca.ldif Exporting changelog /var/lib/dirsrv/slapd-XERCES-LAN/db/ipaca/replication_changelog.db to /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-ipaca.cl5.dbtxt Backends exportation 20.611552% (userroot) ldiffile: /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-userroot.ldif Exporting changelog /var/lib/dirsrv/slapd-XERCES-LAN/db/userRoot/replication_changelog.db to /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-userroot.cl5.dbtxt Backends exportation 100% Updating dse.ldif file Backends importation 0.000000% (changelog) Backends importation 0.634202% (ipaca) Importing changelog /var/lib/dirsrv/slapd-XERCES-LAN/db/ipaca/replication_changelog.db from /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-ipaca.cl5.dbtxt Backends importation 20.611552% (userroot) Importing changelog /var/lib/dirsrv/slapd-XERCES-LAN/db/userRoot/replication_changelog.db from /var/lib/dirsrv/slapd-XERCES-LAN/ldif/__dblib-userroot.cl5.dbtxt Backends importation 100% Migration from Berkeley database to lmdb is done. **YAY** Ran ipa-server-upgrade and now it's up and running! so yes,that seems to have done the trick!
Saved a second instance of freeipa on another system as well, so thanks again!
FEDORA-2026-8f6f3916ee (389-ds-base-3.1.4-6.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2026-8f6f3916ee
FEDORA-2026-4455337d8e (389-ds-base-3.1.4-9.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-4455337d8e
FEDORA-2026-8f6f3916ee has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8f6f3916ee` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8f6f3916ee See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-4455337d8e has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4455337d8e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4455337d8e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-4455337d8e (389-ds-base-3.1.4-9.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-8f6f3916ee (389-ds-base-3.1.4-6.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.