On Tue, Sep 12, 2023 at 1:57 PM Joe Salmeri <jmscdba@gmail.com> wrote:
On 9/11/23 09:47, Michal Suchánek wrote:
Hello,
On Mon, Sep 11, 2023 at 09:40:10AM -0400, Joe Salmeri wrote:
On 9/11/23 05:26, Gus Fos wrote:
An other alternative could be to just add features to Tumbleweed to support the latest LTS kernel in the repos so that it would be more easy to not get latest kernels all the time without doing a lot of custom workarounds that can lead to breakage. It would be nice if TW offered a kernel-lts package which is the latest lts release ( arch does this ). When I want to keep the LTS release I update my zypper config to keep the lts kernel version number and keep updating until there are no new versions but then once a kernel version greater than the lts version is out TW will no longer have fixes to the LTS version that come out. technically there is nothing preventing shipping a LTS kernel as part of Tumbleweed.
However, to do so somebody needs to maintian the kernel-lts package. Also the kernel-lts package needs to go through QA increasing the workload on the QA side.
Thanks
Michal
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. -- 真実はいつも一つ!/ Always, there's only one truth!