• hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    2 days ago

    Yeah, a file system snapshot is another way of achieving safe upgrades. There are upsides and downsides of all approaches though.

    Rolling back to a btrfs snapshot might be harder than just picking the other ostree image in GRUB. And you still have the problem where old binaries might be running when only the new binaries/libraries exist on disk. But it also saves space on disk compared to an immutable distro, and it’s much easier to make changes to system files. Every approach is a compromise.

    • Excel@lemming.megumin.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      It’s literally just picking which snapshot you want to boot in the boot loader and then accepting the prompt to make that one the new default after you’ve verified it works. It’s not possible for old binaries to be running.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        I’m talking about when you update the system. Unless you reboot to do the update, the system can be using outdated binaries until you reboot. Apt will tell you about them, but I don’t know about other package managers.

    • marcie (she/her)@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Yeah rolling back snapshots is way more annoying than ostree and is kinda a shotgun solution. Also ostree saves more disk space.