68 points · by dxs · 2y ago · 46 comments
This may also explain the biggest discrepancy from RHEL being in how SLES packages storage-related stuff (eg. SLES is pro-Btrfs, while RHEL is against, SLES is slow to upgrade mdcrypt, while RHEL isn't etc.)
But this is just a guess.
Whenever I have to deal with "immutable" distributions or attempts to do something immutable (like Snap) on otherwise less immutable systems for individual users, I always end up disabling / removing / uninstalling. It's just an awful end-user experience, if the end user is a human.
I think you mean developers? Otherwise most popular end user OSes are immutable by default these days.. Chrome OS, Android, Steam OS. Honestly it makes sense that we draw a line between platform and applications, and not let application updates/installs break platform.
Imagine your non technical family members install some application that pulls in 100 dependencies one of which breaks the next Ubuntu upgrade..
I hate Android with a burning passion. I pray for a different OS for mobile phones that's actually not as user-hostile as Android (well, MacOS is even more user-hostile... so that's not going to work). I don't think most Android users use it because the like it. There's not much of a choice there.
> Imagine your non technical family members install some application that pulls in 100 dependencies one of which breaks the next Ubuntu upgrade..
I have non-technical family members who use Ubuntu. They had some old laptop that couldn't run Windows anymore, and so Ubuntu was an easy solution to that problem.
So, here's their situation:
1. They don't update anything. There's really no reason to. What they have there works fine. It will break, eventually because of the drive to change and discontinue things unnecessarily, but it will take years. It's unlikely that the laptop will survive that long. And even if it does, they'll just ask me to fix whatever their problem is.
2. Guess how I know about Snap!? Hehe. So, apparently, Ubuntu for desktop comes with this... "feature". And of all things they decided to install Firefox as a Snap package. And of course it's broken. And of course there's no easy way to fix it, while retaining Snap. The easiest and most reliable way to deal with it is to get rid of Snap altogether, and to install from Mozilla's PPA. Precisely because of the difficulties with upgrades.
So, yeah, theoretically non-technical users might run into the situation you describe. But you kind of forgetting that upgrade-induced problems is more of a Microsoft thing, where they force upgrades on their users and eventually break things. It's the Microsoft world where users constantly have to deal with broken updates. If you are a Linux user, you might just live happily with whatever you've installed 5+ years ago and just enjoy your life.
I am just waiting for the day we have an officially-supported Arch Linux Atomic distro based on ostree (pacman-ostree?)
I have been working on an immutable OS that uses squashfs instead and it seems to work better. The contract is tighter with squashfs, as you really _can't_ change the underlying squashfs stuff. Upgrades are easily scriptable and transparent on what they're trying to accomplish, too. The distribution is designed as a "meta" distribution with different flavors (deb, ubu, arc, fed, etc) that you can easily "swap" to just by changing the boot stuff, all configured to deliver the same kind of functionality (container host, mostly).
https://fedoraproject.org/wiki/Changes/OstreeNativeContainer...
New one on me, I had to search for its meaning. This seems to be a SUSE marketing term. But what I read seems to be some kind of immutable distribution with heavy focus on containers.
Good for SUSE, glad right now my distro is not going down that path and as far as I know there are no plans for that. But I am sure someday upstream may force it to.
When that happens, depending on how it plays out, off to OpenBSD full time, I use BSD now to test all development I do on Linux. I really like the simplicity of pledge(2) and unveil(2) plus the protections OpenBSD has by defaults. Testing on OpenBSD helped find some obscure bugs in a few of my objects.
Eg. I build a few projects myself. And sometimes I also need to debug them, after they are installed. Also, very frequently used programs, like Web browsers end up there.
So, if I had to use an immutable system, I would either not put anything useful in /usr, or would not use an immutable system at all.
This is, of course, not true for systems that are meant to be deployed and changed very infrequently, where stability of operation and ability to cleanly undo an upgrade are much more valuable than the convenience of changing whatever you need.
----
I think, a lot of such systems also very quickly earned a bad reputation because they also tried to ship with common applications for interactive use that don't work well (or at all) on such systems (eg. code editors). So, the first people to try such systems were programmers, who spend most of their time using the system in the code editor, and seeing how that doesn't work saw such a system as worthless.
And about the web browsers, aside from the fact that immutable distributions tend to ship one by default, can't you just install them via Flatpak?
The issue is that most things are not containerized (or should I say namespaced) yet.
Yep and that's the problem, not talking about stuff that is in the container the running app never uses.