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:
In FIPS mode we are receiving UnboundLocalError
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. enable FIPS
2. yum install ipa-client
3. run ipa-client-install
Actual results:
# ipa-client-install
Traceback (most recent call last):
File "/usr/sbin/ipa-client-install", line 43, in <module>
import ipaclient.ntpconf
File "/usr/lib/python2.7/site-packages/ipaclient/ntpconf.py", line 24, in <module>
from ipaplatform.tasks import tasks
File "/usr/lib/python2.7/site-packages/ipaplatform/tasks.py", line 24, in <module>
from ipaplatform.redhat.tasks import RedHatTaskNamespace
File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/tasks.py", line 54, in <module>
""")
File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 103, in cdef
self._parser.parse(csource, override=override, packed=packed)
File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 166, in parse
self._internal_parse(csource)
File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 172, in _internal_parse
ast, macros, csource = self._parse(csource)
File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 127, in _parse
ast = _get_parser().parse(csource)
File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 32, in _get_parser
_parser_cache = pycparser.CParser()
File "/usr/lib/python2.7/site-packages/pycparser/c_parser.py", line 111, in __init__
outputdir=taboutputdir)
File "/usr/lib/python2.7/site-packages/ply/yacc.py", line 3065, in yacc
signature = pinfo.signature()
File "/usr/lib/python2.7/site-packages/ply/yacc.py", line 2814, in signature
return sig.digest()
UnboundLocalError: local variable 'sig' referenced before assignment
Local variables in innermost frame:
self: <ply.yacc.ParserReflect object at 0x26e3bd0>
md5: <built-in function openssl_md5>
Expected results:
No Fail
Additional info:
md5 is not supported in FIPS mode, it must be at least SHA256
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.
https://access.redhat.com/errata/RHBA-2017:2304
Description of problem: In FIPS mode we are receiving UnboundLocalError Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. enable FIPS 2. yum install ipa-client 3. run ipa-client-install Actual results: # ipa-client-install Traceback (most recent call last): File "/usr/sbin/ipa-client-install", line 43, in <module> import ipaclient.ntpconf File "/usr/lib/python2.7/site-packages/ipaclient/ntpconf.py", line 24, in <module> from ipaplatform.tasks import tasks File "/usr/lib/python2.7/site-packages/ipaplatform/tasks.py", line 24, in <module> from ipaplatform.redhat.tasks import RedHatTaskNamespace File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/tasks.py", line 54, in <module> """) File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 103, in cdef self._parser.parse(csource, override=override, packed=packed) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 166, in parse self._internal_parse(csource) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 172, in _internal_parse ast, macros, csource = self._parse(csource) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 127, in _parse ast = _get_parser().parse(csource) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 32, in _get_parser _parser_cache = pycparser.CParser() File "/usr/lib/python2.7/site-packages/pycparser/c_parser.py", line 111, in __init__ outputdir=taboutputdir) File "/usr/lib/python2.7/site-packages/ply/yacc.py", line 3065, in yacc signature = pinfo.signature() File "/usr/lib/python2.7/site-packages/ply/yacc.py", line 2814, in signature return sig.digest() UnboundLocalError: local variable 'sig' referenced before assignment Local variables in innermost frame: self: <ply.yacc.ParserReflect object at 0x26e3bd0> md5: <built-in function openssl_md5> Expected results: No Fail Additional info: md5 is not supported in FIPS mode, it must be at least SHA256