The issue consists of 3 parts, combined I think they could greatly improve the stability of Fedora, with a focus also on atomic desktops.
Background
We see a lot of regressions with the very recent kernel versions that Fedora ships. This can likely never be covered by QA, as the issues may not only be hardware specific but also depend on 3rd party software that people use.
There are only 2 options
- build, test and ship the latest kernel version to stay secure and up to date
- use the LTS kernel which gets security fixes backported
Fedora is âleading edgeâ and does the 1st approach, which impacts usability often.
I know that my GrapheneOS/Android phone will always work. Not so sure on my Fedora Laptop.
Fedora is not intended as a beta-tester distro, so there needs to be a way to have the LTS kernel.
LTS/longterm kernel
The official Linux LTS kernel is the one with the most upstream support, while also being stable and reliable.
It has a support period of 2 years (roughly 4 Fedora releases), and is released roughly once a year (2 Fedora releases).
With the drop to 2 years of support, Google (Android) and likely many more stakeholders will invest way more time in testing and fixing the current LTS kernel.
This means itâs quality and stability should improve even more.
Kernel versions
dnf Fedora has 3 kernel versions afaik.
- rescue kernel
- previous version
- current version
While there are no system snapshots, this ensures that there will be a bootable kernel.
Atomic versions donât have such versioning. There are snapshots for the system
- previous system
- current system
- (optional) x pinned deployments
This is problematic, as there can be cases where there is no older backup kernel version.
LTS Kernel as backup and rescue
I am not sure what version the rescue kernel is. But afaik it is some random and unpatched kernel version, that accidentally was the latest stable at the time of the Fedora release, and shipped with the Anaconda installer.
This is pretty strange, as the rescue kernel should probably not be used? This also sounds like it makes old Anaconda ISOs insecure.
Why not have a kernel-longterm
package and install that alongside, allowing to use it as rescue kernel on atomic and mutable Fedora? Maybe also on the Anaconda ISO.
There is this COPR by @kwizart that already does the packaging successfully.
https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-6.6
It would then also be great to be able to use the LTS kernel as main one, as this will still guarantee security, but also more stability.
Personally, the kernel is the biggest troublemaker on my system, and I dont really need to always have the latest and greatest.
Using an older non-longterm kernel is not an option as the maintenance period is so short, so the LTS kernel is the only alternative.
Potential issues
Current mesa and drivers could cause conflicts.
But I assume especially with slowly-moving ones like the nvidia driver, a LTS kernel would guarantee longer support.
Having the packages separated between the 2 currently supported LTS versions (kernel-longterm-6.6
and kernel-longterm-6.12
afaik) would allow users a safe backup. But this could require more complex upgrade mechanisms, at least on mutable Fedora.
What do you think?