
On Wed, Aug 31, 2022, at 5:03 AM, Alberto Planas wrote:
On Wednesday, August 31, 2022 10:40:32 AM CEST Thorsten Kukuk wrote:
Even worse: you can never do a rollback to an older snapshot if the last update did contain a kernel update. Because if you do a rollback because your Firefox is broken, you would end with a boot kernel which cannot find it's modules anymore...
As today this is true, but there is a tool that can do the bookkeeping tasks to track the combinations of kernel + initrd + sysroot that worked, so grub or bootctl can choose later the correct combination to do the rollback.
It is challenging! But there are some invariants that should make the problem doable.
I agree with this. I strongly believe the design should not expect special functionality or knowledge on the part of the bootloader. Depending on a specialized bootloader means basic functionality (snapshots and rollbacks) hinges on a particular bootloader. -- Chris Murphy