Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
After installation of a few RPMs, I got this:
~~~
[root@netqe23 nss]# rpm
error: Failed to initialize NSS library
[root@netqe23 nss]# yum
error: Failed to initialize NSS library
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
cannot import name ts
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Aug 2 2016, 04:20:16)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
~~~
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
I don't have time to troubleshoot this. Looks like an order of operations and dependency issue. Full CLI output and RPM package list attached.
Perhaps a conflict between beaker and official repos?
[root@netqe23 ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id repo name status
beaker-HighAvailability beaker-HighAvailability 37
beaker-ResilientStorage beaker-ResilientStorage 42
beaker-Server beaker-Server 4,751
beaker-Server-NFV beaker-Server-NFV 19
beaker-Server-NFV-debuginfo beaker-Server-NFV-debuginfo 9
beaker-Server-RT beaker-Server-RT 15
beaker-Server-RT-debuginfo beaker-Server-RT-debuginfo 6
beaker-Server-SAP beaker-Server-SAP 11
beaker-Server-SAP-debuginfo beaker-Server-SAP-debuginfo 5
beaker-Server-SAPHANA beaker-Server-SAPHANA 3
beaker-Server-SAPHANA-debuginfo beaker-Server-SAPHANA-debuginfo 2
beaker-Server-debuginfo beaker-Server-debuginfo 2,078
beaker-Server-optional beaker-Server-optional 4,517
beaker-Server-optional-debuginfo beaker-Server-optional-debuginfo 249
rhel-7-server-aus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - AUS (RPMs) 11,875
rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 536
rhel-7-server-htb-rpms/x86_64 Red Hat Enterprise Linux 7 Server HTB (RPMs) 7,592
rhel-7-server-nfv-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time for NFV (RHEL 7 177
rhel-7-server-openstack-10-devtools-rpms/7Server/x86_64 Red Hat OpenStack Platform 10 Developer Tools for RHEL 6
rhel-7-server-openstack-10-rpms/7Server/x86_64 Red Hat OpenStack Platform 10 for RHEL 7 (RPMs) 1,179
rhel-7-server-rh-common-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - RH Common (RPMs) 228
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 14,619
rhel-7-server-rt-beta-rpms/x86_64 Red Hat Enterprise Linux for Real Time Beta (RHEL 7 Ser 15
rhel-7-server-rt-htb-rpms/x86_64 Red Hat Enterprise Linux for Real Time HTB (RHEL 7 Serv 0
rhel-7-server-rt-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time (RHEL 7 Server) 208
rhel-7-server-tus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - TUS (RPMs) 11,875
repolist: 60,054
[root@netqe23 ~]#
Yes, it looks like a duplicate of bug 1477308. According to the rpm list attached to comment 2, only nss-softokn-freebl got updated while nspr was older (and missing PR_GetEnvSecure):
$ grep '^nss\|^nspr' nss-rpm_-qa.txt | sort
nspr-4.11.0-1.el7_2.x86_64
nss-3.21.0-17.el7.x86_64
nss-softokn-3.16.2.3-14.4.el7.x86_64
nss-softokn-freebl-3.28.3-6.el7.i686
nss-softokn-freebl-3.28.3-6.el7.x86_64
nss-sysinit-3.21.0-17.el7.x86_64
nss-tools-3.21.0-17.el7.x86_64
nss-util-3.21.0-2.2.el7_2.x86_64
Comment 7Kai Engert (:kaie) (inactive account)
2017-08-21 15:53:58 UTC
Andreas, could you please verify that the recently released updates fix your issue?
Hi,
Comment 6 makes sense to me. Both issues were reported at the same time as well. Closing as dup.
- Andreas
*** This bug has been marked as a duplicate of bug 1477308 ***