Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-354

RHEL zips doesn't have symlinks pointing *.so files

XMLWordPrintable

    • Release Notes
    • Hide

      unzip jbcs-httpd24-httpd-2.4.23-RHEL7-x86_64.zip
      ls -al jbcs-httpd24-2.4/httpd/lib/
      check zero presence of symlinks

      Show
      unzip jbcs-httpd24-httpd-2.4.23-RHEL7-x86_64.zip ls -al jbcs-httpd24-2.4/httpd/lib/ check zero presence of symlinks

      There should be symlinks pointing to same binary file at jbcs-httpd24-2.4/httpd/lib/ and subfolders like RHEL rpm, or solaris have. All JBCS SPx updates only one file instead of all with the same name. For example: libapr has 3 binary files in httpd/lib folder libapr-1.so, libapr-1.so.0 and libapr-1-so.0.5.2, but we ship update only for libapr-1.so.0.5.2 file in SP3. Then we have different patches across all aprlib files.

      It is issue in JBCS 2.4.23-GA, so we are unable to fix it there. From my point of view I see 2 possible solutions:
      1. (preffered) Each JBCS SPx build will brings symlinks along with patched files

      • eg file libapr-1.so.0.5.2 and libapr-1.so, libapr-1.so.0 as symlinks
        2. Each JBCS SPx build will brings all files updates
      • eg all libapr-1.so, libapr-1.so.0 and libapr-1-so.0.5.2 will be files

      Actual outcome:

      .qa.[root@hp-dl380pgen8-02-vm-7 tests]# ll jbcs-httpd24-2.4/httpd/lib/
      total 8452
      -rw-r--r--. 1 root root    9262 Dec  1 13:36 apr.exp
      drwxr-xr-x. 2 root root    4096 Dec  1 13:36 apr-util-1
      -rw-r--r--. 1 root root    5982 Dec  1 13:36 aprutil.exp
      drwxr-xr-x. 2 root root     253 Dec  1 13:36 build
      drwxr-xr-x. 2 root root     218 Dec  6 07:25 engines
      -rw-r--r--. 1 root root  380706 Dec  6 07:25 libapr-1.a
      -rwxr-xr-x. 1 root root    1020 Dec  6 07:25 libapr-1.la
      -rwxr-xr-x. 1 root root  216640 Dec  6 07:25 libapr-1.so
      -rwxr-xr-x. 1 root root  216640 Dec  6 07:25 libapr-1.so.0
      -rwxr-xr-x. 1 root root  216640 Dec  6 07:25 libapr-1.so.0.5.2
      -rw-r--r--. 1 root root  278710 Dec  6 07:25 libaprutil-1.a
      -rwxr-xr-x. 1 root root    1140 Dec  6 07:25 libaprutil-1.la
      -rwxr-xr-x. 1 root root  169928 Dec  6 07:25 libaprutil-1.so
      -rwxr-xr-x. 1 root root  169928 Dec  6 07:25 libaprutil-1.so.0
      -rwxr-xr-x. 1 root root  169928 Dec  6 07:25 libaprutil-1.so.0.5.4
      -rwxr-xr-x. 1 root root 2528616 Dec  6 07:25 libcrypto.so.10
      -rwxr-xr-x. 1 root root 2528616 Dec  6 07:25 libcrypto.so.1.0.2h
      -rw-r--r--. 1 root root  259288 Dec  6 07:25 libnghttp2.a
      -rwxr-xr-x. 1 root root     963 Dec  6 07:25 libnghttp2.la
      -rwxr-xr-x. 1 root root  157944 Dec  6 07:25 libnghttp2.so
      -rwxr-xr-x. 1 root root  157944 Dec  6 07:25 libnghttp2.so.14
      -rwxr-xr-x. 1 root root  157944 Dec  6 07:25 libnghttp2.so.14.8.0
      -rwxr-xr-x. 1 root root  487632 Dec  6 07:25 libssl.so.10
      -rwxr-xr-x. 1 root root  487632 Dec  6 07:25 libssl.so.1.0.2h
      drwxr-xr-x. 2 root root       6 Dec  6 07:25 openssl
      drwxr-xr-x. 2 root root      43 Dec  1 13:36 pkgconfig
      

      Also hashSums are the same:

      .qa.[root@hp-dl380pgen8-02-vm-7 tests]# md5sum /opt/rh/jbcs-httpd24/root/usr/lib64/lib*
      189c7acaab3cdeb37fe4a2f7443a1089  /opt/rh/jbcs-httpd24/root/usr/lib64/libapr-1.a
      5c4c4f1b32e3ec09557b050d91a43abc  /opt/rh/jbcs-httpd24/root/usr/lib64/libapr-1.la
      11767d7733e725a535b7cb5e10e939c0  /opt/rh/jbcs-httpd24/root/usr/lib64/libapr-1.so
      11767d7733e725a535b7cb5e10e939c0  /opt/rh/jbcs-httpd24/root/usr/lib64/libapr-1.so.0
      11767d7733e725a535b7cb5e10e939c0  /opt/rh/jbcs-httpd24/root/usr/lib64/libapr-1.so.0.5.2
      ca4b7cbdd5fad29f705ab967f304f577  /opt/rh/jbcs-httpd24/root/usr/lib64/libaprutil-1.a
      e6f67363663d5ae481ada802c9f2bb4b  /opt/rh/jbcs-httpd24/root/usr/lib64/libaprutil-1.la
      0c8cd6fa9f5d8021ee14726174e083b5  /opt/rh/jbcs-httpd24/root/usr/lib64/libaprutil-1.so
      0c8cd6fa9f5d8021ee14726174e083b5  /opt/rh/jbcs-httpd24/root/usr/lib64/libaprutil-1.so.0
      0c8cd6fa9f5d8021ee14726174e083b5  /opt/rh/jbcs-httpd24/root/usr/lib64/libaprutil-1.so.0.5.4
      d1e2ce7fcac1c5caa3b4318cffbbf9a0  /opt/rh/jbcs-httpd24/root/usr/lib64/libcrypto.so.10
      d1e2ce7fcac1c5caa3b4318cffbbf9a0  /opt/rh/jbcs-httpd24/root/usr/lib64/libcrypto.so.1.0.2h
      f0e57898cb2d0a81be384a6bee972f1c  /opt/rh/jbcs-httpd24/root/usr/lib64/libnghttp2.a
      65fc40c0723d00c232696bde3ec950db  /opt/rh/jbcs-httpd24/root/usr/lib64/libnghttp2.la
      e265a607987611fefff2d3f0d97f47bf  /opt/rh/jbcs-httpd24/root/usr/lib64/libnghttp2.so
      e265a607987611fefff2d3f0d97f47bf  /opt/rh/jbcs-httpd24/root/usr/lib64/libnghttp2.so.14
      e265a607987611fefff2d3f0d97f47bf  /opt/rh/jbcs-httpd24/root/usr/lib64/libnghttp2.so.14.8.0
      e8f8ecae0af8e6534574607d81fbbf42  /opt/rh/jbcs-httpd24/root/usr/lib64/libssl.so.10
      e8f8ecae0af8e6534574607d81fbbf42  /opt/rh/jbcs-httpd24/root/usr/lib64/libssl.so.1.0.2h
      

      Expected:

      .qa.[root@hp-dl380pgen8-02-vm-7 tests]# ll /opt/rh/jbcs-httpd24/root/usr/lib64/
      total 4300
      drwxr-xr-x. 2 root root    4096 May 15 01:33 apr-util-1
      drwxr-xr-x. 3 root root      21 May 16 03:11 httpd
      -rw-r--r--. 1 root root  380706 May  9 06:06 libapr-1.a
      -rwxr-xr-x. 1 root root    1020 May  9 06:06 libapr-1.la
      lrwxrwxrwx. 1 root root      17 May 15 01:33 libapr-1.so -> libapr-1.so.0.5.2
      lrwxrwxrwx. 1 root root      17 May 15 01:33 libapr-1.so.0 -> libapr-1.so.0.5.2
      -rwxr-xr-x. 1 root root  216624 May  9 06:06 libapr-1.so.0.5.2
      -rw-r--r--. 1 root root  278710 May  9 06:06 libaprutil-1.a
      -rwxr-xr-x. 1 root root    1140 May  9 06:06 libaprutil-1.la
      lrwxrwxrwx. 1 root root      21 May 15 01:33 libaprutil-1.so -> libaprutil-1.so.0.5.4
      lrwxrwxrwx. 1 root root      21 May 15 01:33 libaprutil-1.so.0 -> libaprutil-1.so.0.5.4
      -rwxr-xr-x. 1 root root  169912 May  9 06:06 libaprutil-1.so.0.5.4
      lrwxrwxrwx. 1 root root      19 May 15 01:33 libcrypto.so.10 -> libcrypto.so.1.0.2h
      -rwxr-xr-x. 1 root root 2442056 Mar  8 07:23 libcrypto.so.1.0.2h
      -rw-r--r--. 1 root root  259288 Aug 18  2016 libnghttp2.a
      -rwxr-xr-x. 1 root root     963 Aug 18  2016 libnghttp2.la
      lrwxrwxrwx. 1 root root      20 May 15 01:28 libnghttp2.so -> libnghttp2.so.14.8.0
      lrwxrwxrwx. 1 root root      20 May 15 01:28 libnghttp2.so.14 -> libnghttp2.so.14.8.0
      -rwxr-xr-x. 1 root root  157944 Aug 18  2016 libnghttp2.so.14.8.0
      lrwxrwxrwx. 1 root root      16 May 15 01:33 libssl.so.10 -> libssl.so.1.0.2h
      -rwxr-xr-x. 1 root root  466192 Mar  8 07:23 libssl.so.1.0.2h
      drwxr-xr-x. 3 root root      21 Mar  8 07:23 openssl
      drwxr-xr-x. 2 root root      27 May 16 03:11 pkgconfig
      

            gzaronik@redhat.com George Zaronikas
            jonderka@redhat.com Jan Onderka
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: