OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-562-gfa08464
Gerrit Code Review
gerrit@openafs.org
Thu, 20 Aug 2026 12:23:25 -0400
The following commit has been merged in the master branch:
commit fa08464b2cdf555f262f69ec3ac61a3dc01c15c1
Author: Michael Meffie <mmeffie@sinenomine.net>
Date: Wed Aug 19 15:07:37 2026 -0400
RedHat: Remove 'kernel-modules' Provides on RHEL8+
Since commit c4ad02b69a (rpm-files-update-20071011), our
openafs-kmodtool script (then called 'kmodtool') specifies our kernel
module packages as "Provides: kernel-modules". At the time, this is what
the kmodtool command from Fedora did, and was needed for kmod packages.
Starting with RHEL 8 and similar vintage distros (AlmaLinux, Rocky
Linux, Fedora 27, Amazon Linux 2023), the packages for the actual Linux
kernel were split into kernel-core, kernel-modules, and
kernel-modules-extra.
In these distributions, 'kernel-modules' is an actual base-OS package
providing the core kernel drivers. Exporting 'Provides: kernel-modules'
in kmod-openafs falsely advertises the package as a provider of the OS
driver package.
Usually this does not cause any big problems, because most systems already
have the real kernel-modules package installed. But to avoid possible
issues and confusion, update openafs-kmodtool to suppress 'Provides:
kernel-modules' when building on Fedora >= 27, RHEL >= 8, or Amazon
Linux >= 2023.
The Red Hat Enterprise Linux 8 document "Managing, Monitoring, and Updating the
Kernel"[1] describes the kernel packages, including the kernel-modules
introduced in RHEL 8.
The Fedora commit that introduce the kernel-modules package (and added
the kernel-module provides for that package) was committed in the fedora
rpms/kernel repo[2] during the Fedora 27 development cycle:
commit aa73513f1f7a605ef96dbee6801cfbb327336037
Author: Josh Boyer <jwboyer@fedoraproject.org>
Date: Thu May 1 21:10:44 2014 -0400
Rename kernel-drivers to kernel-modules
[1] https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/index
[2] https://src.fedoraproject.org/rpms/kernel.git
Change-Id: Id3bd11b88127add17accdcb1402fccacef601d52
Reviewed-on: https://gerrit.openafs.org/16942
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: Michael Meffie <mmeffie@sinenomine.net>
src/packaging/RedHat/openafs-kmodtool | 2 ++
1 file changed, 2 insertions(+)
--
OpenAFS Master Repository