Bug 609844 - rhn-solaris-bootstrap - wrong ELF data format: ELFDATA2LSB
Summary: rhn-solaris-bootstrap - wrong ELF data format: ELFDATA2LSB
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Solaris
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On:
Blocks: sat531-triage
TreeView+ depends on / blocked
 
Reported: 2010-07-01 10:19 UTC by Jiri Kastner
Modified: 2016-07-04 00:55 UTC (History)
6 users (show)

Fixed In Version: rhn-solaris-bootstrap-5.3.5-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-20 15:34:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jiri Kastner 2010-07-01 10:19:22 UTC
Description of problem:
not able to run rhn* on solaris 5.9

Version-Release number of selected component (if applicable):
rhn-solaris-bootstrap-5.3.2-1.el5sat.noarch

How reproducible:
on sparc solaris 5.9

Steps to Reproduce:
1. remove old rhn-bootstrap from solaris box
2. install rhn solaris packages for sparc-sol9
3. run rhnreg_ks
  
Actual results:

ImportError: ld.so.1: python: fatal: /opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/rand.so: wrong ELF 

Expected results:
no linker errors

Additional info:

Comment 2 Jiri Kastner 2010-07-01 10:22:35 UTC
Traceback (most recent call last):
  File "/opt/redhat/rhn/solaris/usr/sbin/rhnreg_ks", line 28, in ?
    from rhn.client.translate import _
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/__init__.py", line 11, in ?
    import rpclib
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/rpclib.py", line 14, in ?
    import transports
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/transports.py", line 24, in ?
    import connections
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/connections.py", line 14, in ?
    import SSL
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/SSL.py", line 15, in ?
    from OpenSSL import SSL, crypto
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/__init__.py", line 11, in ?
    import rand, crypto, SSL, tsafe
ImportError: ld.so.1: python: fatal: /opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/rand.so: wrong ELF data format: ELFDATA2LSB

Comment 3 Clifford Perry 2010-07-27 15:34:32 UTC
Jiri
Can you confirm if this is a Regression to the Satellite 5.3 GA solaris client packages/bootstrap packages? 

If not regression, we may be able to release the rest of the Solaris Errata as-is without addressing this bug till the 5.4 release. 

Cliff

Comment 4 Jiri Kastner 2010-08-02 14:51:55 UTC
(In reply to comment #3)
> Jiri
> Can you confirm if this is a Regression to the Satellite 5.3 GA solaris client
> packages/bootstrap packages? 
> 
> If not regression, we may be able to release the rest of the Solaris Errata
> as-is without addressing this bug till the 5.4 release. 
> 
> Cliff    

cliff, it is regression to 5.3.0 GA.

Comment 5 Jiri Kastner 2010-08-03 10:01:44 UTC
reproducer:
python -c "from OpenSSL import SSL, crypto"

Comment 6 Miroslav Suchý 2010-08-03 14:47:48 UTC
we have old RHATpossl. 5.1.0 whereas in last rhn-solaris-bootstrap we had 5.3.0
We find similar problem for RHATrhnc

commit cec20b1fd93311b26507ed64b2fffc826c310e83


Note You need to log in before you can comment on or make changes to this bug.