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-nssAssignee: John Dennis <jdennis>
Status: CLOSED ERRATA QA Contact: Patrik Kis <pkis>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: 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:

Description Aleš Mareček 2011-04-21 13:41:35 UTC
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:

Comment 4 RHEL Program Management 2011-04-22 06:00:24 UTC
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.

Comment 8 RHEL Program Management 2012-07-10 06:46:27 UTC
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.

Comment 9 RHEL Program Management 2012-07-11 01:58:56 UTC
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.

Comment 14 errata-xmlrpc 2013-02-21 10:11:54 UTC
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