#8474 Mozilla's NSS without DBM
Closed: fixed by abbra. Opened by slev.

Mozilla's NSS can be built without the support of legacy DB (DBM).
This case is not handled in FreeIPA.
For example, on Fedora33 tests fail with:

=========================== short test summary info ============================
FAILED test_ipapython/test_certdb.py::test_dbm_tmp - ipapython.ipautil.Called...
FAILED test_ipapython/test_certdb.py::test_convert_db - ipapython.ipautil.Cal...
FAILED test_ipapython/test_certdb.py::test_convert_db_nokey - ipapython.ipaut...
3 failed
...
E           ipapython.ipautil.CalledProcessError: CalledProcessError(Command ['/usr/bin/certutil', '-d', 'dbm:/tmp/tmpms2o812h', '-N', '-f', '/tmp/tmpms2o812h/pwdfile.txt', '-@', '/tmp/tmpms2o812h/pwdfile.txt'] returned non-zero exit status 255: 'certutil: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format.\n')

https://github.com/freeipa/freeipa/pull/5047

master:

  • 0d326a9097c6fe5f1eb6d30340aedbe9200c3d37 Azure: Add Rawhide definitions
  • 60ff2841cd74706a5ebd40924f11ad3defaa1750 Azure: Drop dependency on UsePythonVersion task
  • a5b23287aeddd32b129d4c97e6354900c8b931ec Azure: base: Collect both install and uninstall logs
  • a102cfe5faf28b801d2ad3570477ef9dd5c0d5f1 nss: Raise exception earlier on unsupported DB type
  • f3d10871300498150c41f3acc154688f1ee48ceb deps: Require nss-tools for make's fasttest target
  • 30cf59d0ae39e83f3590152aec19e466dbc3623a Azure: Increase verbosity for Tox task
  • fdb227e55ab976fb26ef417df1e4a842d3280f5c tox: Don't expand symlinks
  • 49e643783d22ded7a44d84599020af4e8a3d4d5a dnspython: Add compatibility shim

ipa-4-8:

  • 5d13ef9bfe52442af7d8d39113a8b0a01f5f0bff Azure: Add Rawhide definitions
  • ae219dffbcb71f6ab12b4e4831a1c02e4279f0b8 Azure: Drop dependency on UsePythonVersion task
  • 0ff6b6ee55bfb633b1aee7948c885dfa3f711168 Azure: base: Collect both install and uninstall logs
  • 0a8997ff0be5b3ce67172da9b123a461be83f1e6 nss: Raise exception earlier on unsupported DB type
  • ee661dc7223bf107d30dda39184c402964f2982f deps: Require nss-tools for make's fasttest target
  • 428373f127f69b4fee45b356c765e7a227c8788b Azure: Increase verbosity for Tox task
  • 76502144dd71c957954ac44002d034e691713cb3 tox: Don't expand symlinks
  • ae8b723c1e0f5d66b0fa5e618b7274d872e918d3 dnspython: Add compatibility shim

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata