[LU-13530] missing depmod -a in module RPM post Created: 07/May/20  Updated: 27/Jan/23  Resolved: 27/Jan/23

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

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: Tim Day
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

After installing Lustre RPMs from 2.13.blahblah modprobe was unable to find libcfs.ko. After running depmod a it worked. Do we need to add depmod -a to the %post section of kmod-lustre*?

lustre-release$ git --no-pager grep depmod
debian/postinst:DEPMOD_DIR="/etc/depmod.d"
debian/postinst:depmod -a
debian/postrm:DEPMOD_DIR="/etc/depmod.d"
debian/postrm:depmod -a


 Comments   
Comment by Gerrit Updater [ 06/Jan/23 ]

"Timothy Day <timday@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49573
Subject: LU-13530 build: Add kernel version to depmod
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 65744e782e0a24cc2915bc977eb75c23df9d0ca0

Comment by Gerrit Updater [ 27/Jan/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49573/
Subject: LU-13530 build: Add kernel version to depmod
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 98338572a671e1a9c227a8589f7a9b5972b924bf

Comment by Peter Jones [ 27/Jan/23 ]

Landed for 2.16

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