Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11898

Extra openssl natives in RPM distribution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER2
    • 7.1.0.ER1
    • RPM
    • None

      There are extra native files regarding to the openssl module in EAP7.1.0.Beta RPM distribution. We expect to have only neccessary natives for particular installed platform present. All others should be excluded from RPM package.

      Here is the list for x86_64 platform:

      modules/system/layers/base/org/wildfly/openssl/main/lib/linux-i386
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-i386
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-x86_64
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-i386/wfssl.dll
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-x86_64/wfssl.dll
      

      Similarly for i386 platform:

      modules/system/layers/base/org/wildfly/openssl/main/lib/linux-x86_64
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-i386
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-x86_64
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-i386/wfssl.dll
      modules/system/layers/base/org/wildfly/openssl/main/lib/win-x86_64/wfssl.dll
      

      It seems that directories and solaris/windows natives are installed by eap7-wildfly-modules package, whereas correct rhel library is installed by eap7-wildfly-openssl-linux package. Also note that directory for the correct rhel library is registered as installed by both of those packages:

      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/modules/system/layers/base/org/wildfly/openssl/main/lib/linux-i386
      eap7-wildfly-modules-7.1.0-38.Beta1_redhat_5.1.ep7.el6.noarch
      
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/modules/system/layers/base/org/wildfly/openssl/main/lib/linux-x86_64
      eap7-wildfly-openssl-linux-1.0.0-11.CR3_redhat_2.1.ep7.el6.x86_64
      eap7-wildfly-modules-7.1.0-38.Beta1_redhat_5.1.ep7.el6.noarch
      
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/modules/system/layers/base/org/wildfly/openssl/main/lib/linux-x86_64/libwfssl.so 
      eap7-wildfly-openssl-linux-1.0.0-11.CR3_redhat_2.1.ep7.el6.x86_64
      
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/modules/system/layers/base/org/wildfly/openssl/main/lib/win-i386
      eap7-wildfly-modules-7.1.0-38.Beta1_redhat_5.1.ep7.el6.noarch
      
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/modules/system/layers/base/org/wildfly/openssl/main/lib/win-x86_64
      eap7-wildfly-modules-7.1.0-38.Beta1_redhat_5.1.ep7.el6.noarch
      
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/modules/system/layers/base/org/wildfly/openssl/main/lib/win-x86_64/wfssl.dll 
      eap7-wildfly-modules-7.1.0-38.Beta1_redhat_5.1.ep7.el6.noarch
      

              permaine Permaine Cheung
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: