[LU-10798] bad side effects from LU-9731 fix Created: 09/Mar/18  Updated: 09/Mar/18

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bob Glossman (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 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.


Generated at Sat Feb 10 02:38:16 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.