Description of problem: nss-db-gen script using certutil command internally to generate certs. And for certutil command, nss-tools-3.12.9-9.el6.x86_64 package is required. So this package should be installed either with "pulp" packages or "rh-rhui-tools" packages. Version-Release number of selected component (if applicable): pulp 0.185 rh-rhui-tools 2.0.26 How reproducible: always Steps to Reproduce: 1. Run nss-db-gen script after installing rhui build. Actual results: Creating BROKER certificate: /usr/bin/nss-db-gen: line 107: certutil: command not found /usr/bin/nss-db-gen: line 110: certutil: command not found /usr/bin/nss-db-gen: line 113: certutil: command not found Broker certificate created. /usr/bin/nss-db-gen: line 123: certutil: command not found Creating CLIENT certificate: /usr/bin/nss-db-gen: line 129: certutil: command not found /usr/bin/nss-db-gen: line 132: certutil: command not found /usr/bin/nss-db-gen: line 135: certutil: command not found Expected results: script should not throw any error Additional info: [root@dhcp201-225 certs]# nss-db-gen Working in: /tmp/tmp12299 Please specify a directory into which the created NSS database and associated certificates will be installed. Enter a directory [/tmp/rhua/qpid]:/root/certs /root/certs Enter NSS database password: Password file created. /usr/bin/nss-db-gen: line 79: certutil: command not found Database created. Creating CA certificate: /usr/bin/nss-db-gen: line 92: certutil: command not found /usr/bin/nss-db-gen: line 95: certutil: command not found CA created Creating BROKER certificate: /usr/bin/nss-db-gen: line 107: certutil: command not found /usr/bin/nss-db-gen: line 110: certutil: command not found /usr/bin/nss-db-gen: line 113: certutil: command not found Broker certificate created. /usr/bin/nss-db-gen: line 123: certutil: command not found Creating CLIENT certificate: /usr/bin/nss-db-gen: line 129: certutil: command not found /usr/bin/nss-db-gen: line 132: certutil: command not found /usr/bin/nss-db-gen: line 135: certutil: command not found Client certificate created. /usr/bin/nss-db-gen: line 139: pk12util: command not found Error opening input file client.p12 client.p12: No such file or directory Client key & certficate exported cp: cannot stat `/tmp/tmp12299/*.crt': No such file or directory cp: cannot stat `/tmp/tmp12299/*.db': No such file or directory Artifacts copied to: /root/certs.
commit 950ae73d0cccd3d2d19529c72f95a7b83b13055b Author: Jay Dobies <jason.dobies> Date: Thu Jun 2 08:52:02 2011 -0400 Added nss-tools as a requirement for the nss-db-gen script rhui-2.0/tools/rh-rhui-tools.spec
added to rhui-20 tracker
Verified in rhui build 2.0.30. This nss-tools package is installed as a dependency. So moving this to verified. ------------------------------------- Installed: rh-rhui-tools.noarch 0:2.0.30-1.el6 Dependency Installed: elfutils.x86_64 0:0.152-1.el6 elfutils-libs.x86_64 0:0.152-1.el6 file.x86_64 0:5.04-6.el6 gdb.x86_64 0:7.2-48.el6 gofer.noarch 0:0.39-1.el6 nss-tools.x86_64 0:3.12.9-9.el6 patch.x86_64 0:2.6-6.el6 pkgconfig.x86_64 1:0.23-9.1.el6 pulp-client.noarch 0:0.0.190-1.el6 pulp-common.noarch 0:0.0.190-1.el6 python-gofer.noarch 0:0.39-1.el6 python-isodate.noarch 0:0.4.4-2.el6 python-qpid.noarch 0:0.10-1.el6 python-simplejson.x86_64 0:2.0.9-3.1.el6 rpm-build.x86_64 0:4.8.0-16.el6 unzip.x86_64 0:6.0-1.el6 xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6 xz-lzma-compat.x86_64 0:4.999.9-0.3.beta.20091007git.el6 Updated: curl.x86_64 0:7.19.7-26.el6 Dependency Updated: elfutils-libelf.x86_64 0:0.152-1.el6 file-libs.x86_64 0:5.04-6.el6 libcurl.x86_64 0:7.19.7-26.el6 nspr.x86_64 0:4.8.7-1.el6 nss.x86_64 0:3.12.9-9.el6 nss-softokn.x86_64 0:3.12.9-3.el6 nss-softokn-freebl.x86_64 0:3.12.9-3.el6 nss-sysinit.x86_64 0:3.12.9-9.el6 nss-util.x86_64 0:3.12.9-1.el6 rpm.x86_64 0:4.8.0-16.el6 rpm-libs.x86_64 0:4.8.0-16.el6 rpm-python.x86_64 0:4.8.0-16.el6 Complete!
moving to release pending
closing out, product released