Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10798

bad side effects from LU-9731 fix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The old fixes for LU-9731 applying extra kernel version dependency in rpms created by lbuild builds on el7 is having undesired side effects.
      This fix is intended to prevent successful install of binary .rpms on kernel versions that might be incompatible. But it is also impacting builds done from the built .src SRPM.
      The extra Requires: is also propagated to the kmp-lustre.preamble file placed in the .src rpm.
      This means that any perfectly valid builds done for older kernel versions from an installed .src rpm of a later version will not install due to the extra and inappropriate Requires coming from the .src rpm.

      This failure was reported by a customer. They installed the .src rpm from the 2.10.3 release build, built on & for el7.4, then built from that source for el7.2. The built rpms then contained Requires: for an el7.4 kernel & wouldn't install on el7.2

      One way to fix this might be to put an original, unaltered preamble file in the generated .src rpm for a build while using an altered, edited preamble file in the rest of the build. Not sure how precisely to accomplish that. In any case we don't want to constrain builds done from source to a narrow range of kernel versions.

      Attachments

        Activity

          People

            wc-triage WC Triage
            bogl Bob Glossman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: