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

jbcs-httpd24-brotli claims to deliver "libbrotlienc.so.1()", which breaks Leapp upgrades from 7 to 8

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Important

    Description

      Package jbcs-httpd24-brotli-xxx.el7jbcs claims to deliver libbrotlienc.so.1(), but not at a standard place, since it delivers the library in /opt/rh/jbcs-httpd24/root/usr/lib64:

      # rpm -q --provides -p ./jbcs-httpd24-brotli-1.0.9-2.el7jbcs.x86_64.rpm 
      [...]
      libbrotlicommon.so.1()(64bit)
      libbrotlidec.so.1()(64bit)
      libbrotlienc.so.1()(64bit)
      scl-package(jbcs-httpd24)
      
      # rpm -qlp ./jbcs-httpd24-brotli-1.0.9-2.el7jbcs.x86_64.rpm
      [...]
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlicommon.so.1
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlicommon.so.1.0.9
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlidec.so.1
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlidec.so.1.0.9
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlienc.so.1
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlienc.so.1.0.9
      [...]
      

      This breaks the Leapp upgrades from RHEL7 to RHEL8 because the DNF transaction then skips installation of brotli package, which is a hard requirement for dnf to be functional.

      Unfortunately the DNF transaction fails during reboot phase, which leads to letting the upgraded system be in unrecoverable state.

      Please fix this package avoid breaking Leapp as soon as jbcs-httpd24-brotli-xxx.el7jbcs is installed on the system.

      Note that this "provides" issue is also present with {{jbcs-httpd24-brotli-xxx.el8jbcs}}:

      # rpm -ql -p ./jbcs-httpd24-brotli-1.0.9-2.el8jbcs.x86_64.rpm
      [...]
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlicommon.so.1
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlicommon.so.1.0.9
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlidec.so.1
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlidec.so.1.0.9
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlienc.so.1
      /opt/rh/jbcs-httpd24/root/usr/lib64/libbrotlienc.so.1.0.9
      [...]
      

      We can hence expect similar breakage of Leapp from RHEL8 to RHEL9.

      Attachments

        Activity

          People

            szappis@redhat.com Sokratis Zappis
            rhn-support-rmetrich Renaud Metrich
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: