On 9/13/23 15:55, Neal Gompa wrote:
On Tue, Sep 12, 2023 at 1:57 PM Joe Salmeri <jmscdba@gmail.com> wrote:
I think that would be a good idea and useful to have.

/etc/zypp/zypp.conf support multi kernel versions

        multiversion.kernels = latest,latest-1,latest-2,running

However, it defaults to only 2 versions ( which the admin can change ) and that can sometimes mean that all those versions are from the same X.Y version level
and that the only difference is in the 3rd digit of the version number.

Sometimes when changes are released that have issues ( the kernel lockdown situation comes to mind ) it is useful to have an older kernel that is not of the same X.Y version level.

I deal with those situations by modifying /etc/zypp/zypp.conf to also include a specific older kernel.

This works, however, it requires manual intervention and does not handle the situation where the last version of the LTS kernel in TW is not the latest version of the LTS kernel
because TW has moved to a later kernel version.

There is also the problem that kernel rebuilds (which can and do
change/break things) do not get parallel installed with zypper. They
get upgraded in-place, instead. So we don't truly do this feature
correctly either.

This is much more obvious when using DNF because DNF doesn't allow you
to remove or obsolete the running kernel by default.

Not sure what you mean.   I have multiple kernels installed including the last LTS version that was in TW.

drwxr-xr-x 1 root root 124 Sep 11 12:14 .
dr-xr-xr-x 1 root root 19K Sep 11 15:05 ..
drwxr-xr-x 1 root root 652 Mar 19 15:50 6.1.12-1-default
drwxr-xr-x 1 root root 652 Sep 11 12:17 6.4.12-1-default
drwxr-xr-x 1 root root 652 Aug  2 10:58 6.4.6-1-default
drwxr-xr-x 1 root root 652 Aug 10 14:36 6.4.8-1-default