this post was submitted on 01 Nov 2024
240 points (96.9% liked)
Linux
48331 readers
618 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Immutable is fantastic in theory. Where it falls apart is having to basically rebuild the whole distro every time you want to make a change. It should be there your base distro is immutable, then any extra changes go on an additional mutable layer but that would be difficult to set up. (You'd need a package manager like Nixos or something.)
That is exactly how OsTree and other layering solutions work. Only Nix requires a whole distro rebuild.
And even then with
nixos-rebuild switch
you won't really notice that you're "rebuilding" anythingIt isn't, though. Package layering modifies the install itself. See: https://docs.fedoraproject.org/en-US/fedora-silverblue/getting-started/#_flatpak_command_line
The big problem with the way ostree works is that installing things has side effects. Every item you install with ostree makes all future items slower to install, including regular os updates. This is a significant flaw in the way they designed it and really makes immutable oses less attractive.
It's not a flaw. Ostree is a last resort, you should be using containerized software. Layering a package should only be done when strictly necessary and not as the regular way to manage packages. If you need an overtly customized system, you use Nix or universal blue to design your new system declaratively and create your custom image.
That is a flaw. Flatpak is great where it works but Flatpak doesn't solve all problems, neither does any one solution except os level modification. It can be a last resort by it should be a last resort that works. The layering system could be put together such that you don't get side effects of installing packages like that. It might be tough to fix but that doesn't make it not a flaw.
Please remember that no one is taking anything away from you. If you don't like it, you don't have to use it. Traditional package managing isn't going away any time soon. You are safe. Others can have their preferred tech, and you don't have to like it. It's ok to have different tastes.