David,

Note to expand on this, this is not the development tree itself - the 
suggestion is the stable tree (2.15.8), plus a single, focused change from dev 
to add support for the newer kernel version.  It would not be advisable to run 
the development branch itself in production, for the reasons you give, but this 
is not that.

Regards,
Patrick
________________________________
From: lustre-discuss <[email protected]> on behalf of 
Peter Jones via lustre-discuss <[email protected]>
Sent: Thursday, October 8, 2026 6:39 AM
To: David Cohen <[email protected]>; 
[email protected] <[email protected]>
Subject: Re: [lustre-discuss] [EXTERNAL] Re: RHEL 9.8 and 10.2 support

David

I do understand your concern, but, given that the equivalent change for RHEL 
9.8 client support merged to master several months ago and no changes have been 
made to the patch since, despite that code being run hundreds of times every 
day, I think that the risk of a significant latent bug still lurking is quite 
slim.

Peter

From: lustre-discuss <[email protected]> on behalf of 
David Cohen via lustre-discuss <[email protected]>
Date: Thursday, October 8, 2026 at 1:21 AM
To: [email protected] <[email protected]>
Subject: Re: [lustre-discuss] [EXTERNAL] Re: RHEL 9.8 and 10.2 support

I'm quite hesitant to put into production clients compiled from the development 
tree.
Aren't they still in development and not officially released because they are 
not yet ready, with potentially a major bug lurking behind the corner.
That being said, I might need to gamble and use those RPMs compiled from the 
2.15 and 2.18 trees for el9.8 and el10.2, as this is holding back new 
installations and upgrades for way too many months now.

How do other cluster managers deal with the risk?
Do you run outdated and vulnerable kernels or development Lustre clients?




On Fri, Sep 18, 2026 at 10:39 PM Kaizaad Bilimorya via lustre-discuss 
<[email protected]<mailto:[email protected]>> wrote:
Hello Fokke,
Thank you for doing this, it was very helpful. I'll just add our build notes 
here too in case someone else finds them useful:

* AlmaLinux release 9.8, Kernel 5.14.0-687.44.1.el9_8.x86_64
git clone 
git://git.whamcloud.com/fs/lustre-release.git<http://git.whamcloud.com/fs/lustre-release.git>
 lustre-client
cd lustre-client/
git checkout tags/2.15.8
- Fix for "/linux-time.h:238:9: error: implicit declaration of function 
'from_timer'; did you mean 'mod_timer'? 
[-Werror=implicit-function-declaration]" issue where the from_timer() macro was 
renamed in recent Linux kernel versions
git pull https://review.whamcloud.com/fs/lustre-release refs/changes/97/65797/7
sh autogen.sh
./configure --disable-iokit --disable-gss --disable-gss-keyring 
--disable-server --disable-tests --enable-client
make rpms

Thanks
Kaizaad
--
Kaizaad Bilimorya
Systems Administrator - SHARCNET | 
http://www.sharcnet.ca<http://www.sharcnet.ca/>
Digital Research Alliance of Canada | 
https://www.alliancecan.ca<https://www.alliancecan.ca/>


On Mon, Jun 29, 2026 at 7:41 AM Fokke Dijkstra via lustre-discuss 
<[email protected]<mailto:[email protected]>> wrote:
I managed to create a patched version of the lustre-client-dkms 2.15.8 rpm, 
which fixes the issue that the kernel modules cannot be compiled on our Alma 
Linux 9.8 client nodes.
Since thousands of users can login on or submit jobs to these clients we 
absolutely need to be able to quickly fix privilege escalation exploits on 
these nodes.

Here is a summary of the way I was able to rebuild the lustre-client-dkms rpm:

The patches for the new kernels can be found via: 
https://jira.whamcloud.com/browse/LU-20071
where LU-20071 is the label for the new Red Hat 9.8 release. I assume that a 
similar procedure can be followed in the future for Red Hat 9.9 and its 
derivatives.
Note that in our case we wanted to fix the LTS release 2.15.8. So look for the 
branch b2_15 on the LU-20071 page. This specific patch can be found at:
https://review.whamcloud.com/c/fs/lustre-release/+/65797
Figuring this out took some time, as I did not know the structure of the build 
system, and I first tried to use the patch for the latest release, which would 
not apply.

After this I used the following procedure to build an updated 
lustre-client-dkms rpm:

1. Download the Lustre source rpm from 
https://downloads.whamcloud.com/public/lustre/latest-release/el9.7/client/SRPMS/lustre-client-dkms-2.15.8-1.el9.src.rpm
2. Install the rpm using:
  rpm -i lustre-client-dkms-2.15.8-1.el9.src.rpm
3. Go the the ~/rpmbuild/SOURCES directory and unpack the source file
  tar xzf lustre-2.15.8.tar.gz
4. Download the patch from 
https://review.whamcloud.com/c/fs/lustre-release/+/65797, which can be 
downloaded using the "DOWNLOAD" link. I selected c131e65.diff.zip
5. Unzip the patch into c131e65.diff
6. Apply the patch using something like:
  cd lustre-2.15.8
  patch -p1 < ../c131e65.diff
  cd ..
7. Create an updated source tar file:
  tar czf lustre-2.15.8.tar.gz lustre-2.15.8
8. Fix the hardcoded buildid in the spec file, by changing it from 1 to 2, so 
the line reads:
%define buildid 2
9. Build the rpm (client without zfs, but with ldiskfs for our use case):
rpmbuild -ba rpmbuild/SPECS/lustre-dkms.spec --without servers --without zfs 
--with ldiskfs

This results in rpmbuild/RPMS/noarch/lustre-client-dkms-2.15.8-2.el9.noarch.rpm

Installing this rpm, together with lustre-client-2.15.8-1.el9.x86_64.rpm 
resulted in a working client on Alma Linux 9.8. I've tested some nodes using 
the IOR benchmark.

I hope these instructions are helpful to others. Please let me know if you have 
suggestions to improve the procedure.

Kind regards,

Fokke Dijkstra

Op di 9 jun 2026 om 19:07 schreef Mohr, Rick 
<[email protected]<mailto:[email protected]>>:
Looking through my scripts, the configure command was run with the following 
options (with paths to dirs substituted for variables) after the patch had been 
applied to the source code:

  configure --with-linux=$KERN_DIR --with-linux-obj=$KERN_OBJ_DIR 
--with-o2ib=$OFED_DIR --disable-gss --disable-gss-keyring --disable-server 
--disable-tests --disable-iokit --with-mds-max-threads=8192 
--enable-mpitests=yes

Then I just ran "make rpms" to create the packages.  Everything was pretty 
straightforward, although not all the options I used would necessarily be 
needed at another site.

--Rick


On 6/4/26, 12:35 PM, "Mohr, Rick" <[email protected]<mailto:[email protected]> 
<mailto:[email protected]<mailto:[email protected]>>> wrote:


Well, I actually built the client using a wrapper script that James Simmons 
wrote to manage git checkouts, patch application, etc. so the steps were hidden 
by that process. I'll see if I can dig out the underlying commands and post 
them here.


--Rick






--
Fokke Dijkstra <[email protected]><mailto:[email protected]>
Team High Performance Computing
Center for Information Technology, University of Groningen
Postbus 11044, 9700 CA  Groningen, The Netherlands

_______________________________________________
lustre-discuss mailing list
[email protected]<mailto:[email protected]>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
--
lustre-discuss mailing list
[email protected]<mailto:[email protected]>
http://lists.lustre.org/mailman/listinfo/lustre-discuss_lists.lustre.org
-- 
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss_lists.lustre.org

Reply via email to