Ad Widget

Collapse

RedHat Enterprise Linux 9 packages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peter.viskup
    Junior Member
    • Jun 2022
    • 3

    #1

    RedHat Enterprise Linux 9 packages

    RHEL9 is GA since 17th of May.
    Just discovered there are still no packages available for this release.
    When it is planned to release them? Is there anything we can help with?
  • peter.viskup
    Junior Member
    • Jun 2022
    • 3

    #2
    Just got the RHEL8 packages installed and running on RHEL9 as an workaround.

    Comment

    • spacetourist
      Junior Member
      • Jun 2022
      • 1

      #3
      Hi Peter,

      I am also in the process of upgrading to EL9 (AlmaLinux) - I'd be interested in some official packages, or at the very least access to the el8 spec file so I can repackage locally.

      Any idea where i might find some srpm's or spec?

      Thanks,

      Callum

      Comment

      • tim.mooney
        Senior Member
        • Dec 2012
        • 1427

        #4
        Originally posted by spacetourist
        Any idea where i might find some srpm's or spec?


        The SRPMs for each release are in a sibling directory from the compiled packages.

        Because of all the changes in rpm/rpmbuild between RHEL 8 and RHEL 9, you'll end up making quite a few quoting changes in the macro comparison logic. Also, the 'mariadb-devel' package has been replaced with the C connector devel package, so you'll need to use that in updated BuildRequires for RHEL 9.

        Everything should build pretty easily though. I rebuilt 5.0.24 for RHEL 9 with no major issues.

        Comment

        • peter.viskup
          Junior Member
          • Jun 2022
          • 3

          #5
          Originally posted by tim.mooney
          Everything should build pretty easily though. I rebuilt 5.0.24 for RHEL 9 with no major issues.
          Would expect the packages being available within GA of RHEL9. Is there any way to escalate it to Zabbix "packaging team"?

          Tim, can you, please share more detailed procedure and the diffs/problems you discovered?

          Comment

          • tim.mooney
            Senior Member
            • Dec 2012
            • 1427

            #6
            Originally posted by peter.viskup
            Would expect the packages being available within GA of RHEL9. Is there any way to escalate it to Zabbix "packaging team"?
            I'm sure we'll see them soon enough. These days, it doesn't seem like very many commercial vendors co-release their software when a new distro major drops. I'll be waiting another 2 months before there are official Puppet packages for RHEL 9, and probably 6 months or more before one of our other vendors officially supports RHEL 9.

            Originally posted by peter.viskup
            Tim, can you, please share more detailed procedure and the diffs/problems you discovered?
            Diffs would be useless because I built Zabbix 5.0.24 using our local packages, not Zabbix 6.0.x using the vendor packages.

            The main changes you'll need to watch for:
            • every place in the spec file where you do a macro comparison of two text strings, like
              Code:
              %if %{_vendor} == redhat
              the text strings now need to be double-quoted, like:
              Code:
              %if "%{_vendor}" == "redhat"
            • with RHEL 8 and RHEL 7 you used
              Code:
              BuildRequires: mariadb-devel ...
              but on RHEL 9 you should use
              Code:
               BuildRequires: mariadb-connector-c-devel ...
            • obviously if you use macro sections like
              Code:
              %if %{?el8:1}%{!?el8:0}
              etc. then you'll need to add new sections for
              Code:
              %if %{?el9:1}%{!?el9:0}

            Those are the major changes. Even 5.0.x built easily on RHEL 9.

            Comment

            Working...