On Fri, Jul 3, 2020 at 2:56 PM PGNet Dev <pgnet.dev(a)gmail.com> wrote:
On a recently installed F32, in my dnf.conf I've
installonly_limit=3
As expected, I maintain 3 installed/selectable 'kernel' pkg versions
Atm, after yesterday's 5.7.6, update
rpm -qa | grep kernel-5
kernel-5.6.6-300.fc32.x86_64
kernel-5.6.19-300.fc32.x86_64
That also appears to apply to 'kernel-modules' pkg,
grep kernel-modules-5
kernel-modules-5.7.6-201.fc32.x86_64
kernel-modules-5.6.19-300.fc32.x86_64
kernel-modules-5.6.6-300.fc32.x86_64
which makes it possible to load/operate on modules from each kernel
version's respective modules tree
It apparently does NOT apply to 'kernel-modules-extra' pkg,
rpm -qa | grep kernel-modules-extra-5
kernel-modules-extra-5.7.6-201.fc32.x86_64
which contains some of the mods referenced in kernel's /boot/config-...
E.g., in my current interest,
find /usr/lib/modules | egrep "tcp_bbr|tcp_htcp"
/usr/lib/modules/5.7.6-201.fc32.x86_64/extra/net/ipv4/tcp_htcp.ko.xz
/usr/lib/modules/5.7.6-201.fc32.x86_64/kernel/net/ipv4/tcp_bbr.ko.xz
/usr/lib/modules/5.6.19-300.fc32.x86_64/kernel/net/ipv4/tcp_bbr.ko.xz
/usr/lib/modules/5.6.6-300.fc32.x86_64/kernel/net/ipv4/tcp_bbr.ko.xz
Seems that install/upgrade of a newer/latest kernel, the older-versioned
pkgs -- and the included mods -- from 'kernel-modules-extra' get _removed_.
That's causing issues for any dependencies on those modules.
Is it possible to add/config 'multiversion' support for
'kernel-modules-extra' pkg as well?
"installonly_limit=3" in dns.conf appears to be not sufficient
This was answered on IRC, but posting it here just in case someone else
stumbles across it. The kernel-modules-extra package is, and has been an
installonly package. It should behave similar to kernel-modules, and
kernel-core, and keep multiple versions (by default 3) installed. The
kernel-modules-extra package is not a part of the typical install, and the
first time it is installed, it will only install the current version, it
will not also install packages to match other kernels installed on the
system. Once installed though, it should update with kernels accordingly,
so at some point soonish you should have 5.7.6, 5.7.7, and 5.7.8 installed
if you are regularly updating, and once 5.7.9 is out, it will remove 5.7.6.
Justin