Bug 698663
| Summary: | /usr/share/doc/python-nss-0.10/test/setup_certs.py contains wrong path to libnssckbi.so | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Aleš Mareček <amarecek> |
| Component: | python-nss | Assignee: | John Dennis <jdennis> |
| Status: | CLOSED ERRATA | QA Contact: | Patrik Kis <pkis> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dpal, pkis |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-nss-0.13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 10:11:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0405.html |
Description of problem: $ python `rpm -ql python-nss-doc | grep test | grep "setup_certs.py$"` Command "modutil -dbdir pki -add ca_certs -libfile /usr/lib/libnssckbi.so" Failed with exit code = 22 Output was: Enter Password or Pin for "NSS Certificate DB": Generating key. This may take a few moments... It happens on 64-bit architectures because of line: $ grep "\-libfile" `rpm -ql python-nss-doc | grep test | grep "setup_certs.py$"` cmd = 'modutil -dbdir %s -add ca_certs -libfile /usr/lib/libnssckbi.so' % \ that contains /usr/lib/libnssckbi.so, not the /usr/lib64/libnssckbi.so. After fixing of test by overwriting lib to lib64 on 64-bit architectures it worked. Version-Release number of selected component (if applicable): How reproducible: Always on 64-bit architectures Steps to Reproduce: 1. python /usr/share/doc/python-nss-0.10/test/setup_certs.py Actual results: Command "modutil -dbdir pki -add ca_certs -libfile /usr/lib/libnssckbi.so" Failed with exit code = 22 return value == 1 Expected results: test pass Additional info: