-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel version string updated release tags #36
Comments
Hi @mstg Given the new information, I'm not sure how to resolve this situation. We use a Python script: https://github.com/NVIDIA/yum-packaging-nvidia-plugin/blob/rhel8/nvidia-dnf.py to pick the appropriate precompiled kmod dependency (and block kernel updates for unavailable kmods). This requires the kernel version string to match exactly. Also, as I mentioned - officially this project only supports RHEL8 (and RHEL9) kernels. So I will need to ponder about how to unblock Rocky users. |
Thanks for opening a new issue @kmittman. I took a look at some of the kmods provided by Red Hat, and they seem to use Example: https://git.centos.org/rpms/kmod-kvdo/blob/c8/f/SPECS/kmod-kvdo.spec#_29 For now this seems to be the "only" solution that can be achieved using RPM only. We're evaluating options on doing |
I'd like to provide my thoughts on this particular situation. I would highly recommend going with an approach like kmod-kvdo or the approach that the elrepo community members handle these types scenarios going forward. This means building an on an initial version and requiring it or newer when installing. The elrepo approach: The initial kernel version is defined and can be overridden in special circumstances. kvdo does it a bit differently but the premise is the same: Initial version is defined Changing our spec file to fix a packaging issue outside of our ecosystem would not be the right approach, in my opinion. Using the approaches above would alleviate issues for all EL derivatives. In Fedora, it makes sense to be constantly rebuilding and have very specific requirements (when not using akmods for example). In enterprise linux, it makes less sense because the kernel release version (kernel-4.18.0-XXX in this example) changes once every 6 months. |
Just wanted to say that we're experiencing this issue again on Rocky Linux 9. |
@michaelbarkdoll
|
It was an upgrade. |
The strictness of the kernel version in the kmod packaging here is what is ultimately causing this issue for RL9 users. I would recommend the packaging/builds be eased to how elrepo, rpmfusion, or even red hat (using kmod-kvdo as the example) does their packaging. See my previous comment for more details. There shouldn't be a reason that an added In the rpmfusion case, when you dnf install kmod-nvidia which is a meta package, it pulls
This specifically wants anything equal or greater than Here is their spec file for reference. |
Hi folks,
Just wanted to quickly jump in related to this issue. Current Rocky Linux kernel is not ahead of RHEL, but the
Release
tags can differ for a few reasons. Mostly, and in this case, it's because we've had to republish the same version because of a non-technical change. Because we never publish same NVR twice, we can add.rocky
or.0.1
in this case to theRelease
field.kernel-4.18.0-372.16.1.el8_6.0.1
andkernel-4.18.0-372.16.1.el8_6
is in fact equal.I'm not sure if there is a good way to make this work with kmods. Thankfully though we do keep all published artifacts so users can generally use the first released version using the
dnf install
method you provided above @kmittman.Thanks,
Mustafa Gezen
Release Engineering lead @ Rocky Linux
Originally posted by @mstg in #35 (comment)
The text was updated successfully, but these errors were encountered: