Re: Immutability
[Author here]
> So how does this dual-root immutability thing play to my distro's ability to update
Well, as I said above, different teams and projects have different approaches... complicated by the fact that, as ever in the Linux world, they all either regard each other as bitter rivals, or they don't consider others worthy and totally ignore them. So it's chaotic, but that's FOSS. It's OK. It works out somehow in the end.
Taking the 42,000' view, there are 2 core approaches:
* either keep a full history, or at least a history of working configs, and offer the ability to go back to a working state
or
* Accept that single-step undo is easier and just have "current working" and "upgraded". If an upgrade fails:
1. fall back to the good state that did the upgrade
2. restore the copy to a known good state
3. mark that upgrade as bad and do not re-apply it (maybe, report it as bad)
4. wait for the _next_ upgrade, and try again in the hope it fixes the issue
It's simple and it's working on a huge number of unsupported consumer machines in the field.
Me personally I like simple over complicated. Like, I am not a big fan of either Snap or Flatpak -- I like AppImage, because it's simple -- but if I had to choose, I'd choose Snap, because I know how it works, but I have read up on Flatpak and OStree and they are really complicated and I know I do not understand how they work.
> why isn't it the norm for most distros?
Statistically, if you consider ChromeOS as a Linux distro -- which I do -- it *is* the norm, and about 9 out of 10 desktop Linux machines use it.
(From the best numbers I can find, about 90% of Linux boxes _that are not servers_ are Chromebooks, then about 2/3 of the rest are Debian family. *Of that* 2/3, about 2/3 are Ubuntu and actual Debian is most of the rest. The other 1/3 of the total is about 90% CentOS.)
The FOSS world is flailing around trying to work out how to do this while keeping the distro open to the end-user controlling it and installing their own stuff.
Red Hat has the worst case of NIH syndrome in the industry so is sitting on its heels trying to work out how to make more money.
Canonical could do amazing things with ZFS but it might also be able to do them with Snap and it's working on that. Fair enough.
SUSE could steal a lead on the whole industry if it can make stable, reliable, self-updating and self-healing servers. It's a good bet.
Maybe NixOS might make an end run around the whole thing but I think it's just too hard, too weird, too different.