Recently the nss-tools dependency was removed from 389-ds-base.spec: https://src.fedoraproject.org/rpms/389-ds-base/c/31b818c739ceee72e0ab4179c879d8efeacf2ba4?branch=f36 If 389-ds-base package was installed without nss-tools, dscreate will fail because it's still calling certutil. Steps to reproduce: 1. Install 389-ds-base without nss-tools 2. Use dscreate to create a basic DS instance Actual result: DS instance creation failed (see dscreate logs below). Expected result: DS instance should be created successfully. dscreate logs: DEBUG: nss cmd: /usr/bin/certutil -N -d /etc/dirsrv/slapd-localhost -f /etc/dirsrv/slapd-localhost/pwdfile.txt -@ /etc/dirsrv/slapd-localhost/pwdfile.txt DEBUG: [Errno 2] No such file or directory: '/usr/bin/certutil' Traceback (most recent call last): File "/usr/sbin/dscreate", line 99, in <module> result = args.func(inst, log, args) File "/usr/lib/python3.10/site-packages/lib389/cli_ctl/instance.py", line 71, in instance_create if sd.create_from_inf(args.file): File "/usr/lib/python3.10/site-packages/lib389/instance/setup.py", line 560, in create_from_inf self.create_from_args(general, slapd, backends, self.extra) File "/usr/lib/python3.10/site-packages/lib389/instance/setup.py", line 696, in create_from_args self._install_ds(general, slapd, backends) File "/usr/lib/python3.10/site-packages/lib389/instance/setup.py", line 918, in _install_ds tlsdb.reinit() File "/usr/lib/python3.10/site-packages/lib389/nss_ssl.py", line 210, in reinit result = ensure_str(check_output(cmd, stderr=subprocess.STDOUT)) File "/usr/lib64/python3.10/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.10/subprocess.py", line 501, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib64/python3.10/subprocess.py", line 966, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib64/python3.10/subprocess.py", line 1842, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/certutil' ERROR: Error: [Errno 2] No such file or directory: '/usr/bin/certutil'
This must have happened by accident in the latest build, both F35 and F37 have nss-tools. Will fix this in the next build...
FEDORA-2022-c9d943a1ff has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c9d943a1ff
@edewata would you mind verifying this build and giving it karma? https://bodhi.fedoraproject.org/updates/FEDORA-2022-c9d943a1ff
I created a COPR build using the same SRPM then reran the CI. The problem is no longer happening. Thanks!
FEDORA-2022-c9d943a1ff has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.