[LU-127] lustre modules on rhel should require their kernel Created: 14/Mar/11  Updated: 09/Feb/12  Resolved: 18/Apr/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Minor
Reporter: Brian Murrell (Inactive) Assignee: Brian Murrell (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-475 RPMs do not contain kernel requirements. Resolved
Severity: 3
Rank (Obsolete): 5071

 Description   

Since weak-modules is pretty much a non-starter on RHEL, we should restore the Requires: kernel = $version dependency relationship between the lustre modules and the kernel they were built for.



 Comments   
Comment by Build Master (Inactive) [ 14/Mar/11 ]

Integrated in reviews-centos5 #449
LU-127 RHEL packages should require the kernel

Brian J. Murrell : 154bc95759c41bdf8fd310b9e8335117d8d0fef2
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 14/Mar/11 ]

Integrated in reviews-centos5 #450
LU-127 RHEL packages should require the kernel

Brian J. Murrell : 992c158e6197d535eea7f3e5f93002624a225bbe
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 14/Mar/11 ]

Integrated in reviews-centos5 #451
LU-127 RHEL packages should require the kernel

Brian J. Murrell : 0e095abcda2627651f44ea023f7a27487e686087
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 14/Mar/11 ]

Integrated in reviews-centos5 #454
LU-127 RHEL packages should require the kernel

Brian J. Murrell : 0e095abcda2627651f44ea023f7a27487e686087
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master-centos5 #201
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » client,ubuntu-x86_64 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » client,el5-x86_64 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » client,el5-i686 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » server,el6-x86_64 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » client,el6-i686 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » server,el5-x86_64 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » client,el6-x86_64 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Build Master (Inactive) [ 18/Apr/11 ]

Integrated in lustre-master » server,el5-i686 #29
LU-127 RHEL packages should require the kernel

Oleg Drokin : ba31efdecb860b6b680f743ba2666cefb2fc6ee5
Files :

  • lustre.spec.in
Comment by Ned Bass [ 27/Apr/11 ]

With this patch I get a broken kernel dependency on RHEL6:

$ rpm -qRp lustre-modules-2.0.59-2.6.32_132.6chaos.ch5.x86_64_gd160b97.x86_64.rpm | grep kernel
kernel = %

{krequires}

Don't we need to restore the krequires definition, which was removed in commit 086ff8c46009479bfdac9f570331a6c93b7d52ac?

%define krequires %(bash -c "echo %

{kversion}

| sed -e 's/.x86_64$//' -e 's/.i586$//' -e 's/-smp$//' -e 's/-bigsmp$//'

Generated at Sat Feb 10 01:04:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.