Try Immutable Mode with openSUSE Leap 16.1 RC

19 days ago by banazir to c/opensuse

Entering RC Phase openSUSE Leap 16.1 has entered the Release Candidate phase. Release Candidate images can be found at get.opensuse.org. We know that people ...

openSUSE Leap 16.1 has entered the Release Candidate phase.

Usecase: Try the new Immutable mode

Leap 16.1 is the first Leap release to offer an Immutable Mode, a transactionally updated system with a read-only root filesystem. This is essentially what our users know from Leap Micro, just integrated directly into Leap.

Leap 16.1 in Immutable mode is replacing Leap Micro. There won’t be a Leap Micro 6.3 or 7.0; Leap Immutable is the way forward for container and virtual machine hosts, edge devices and anyone who prefers atomic updates with easy rollback.

UncleOb 7 points 19 days ago

As someone that is not really interested in immutable distros, what is the use case here when btrfs covers the quick and easy rollback part already?

path: 0 26053162, hotness: undefined, score: 7, children: 11
illusionist 12 points 19 days ago

The root filesystem is mounted as read-only. Attackers can't write to or modify it.

path: 0 26053162 26053479, hotness: undefined, score: 12, children: 10
timbuck2themoon 6 points 19 days ago

Bingo.

I'd say use cases are home users sure but it would be even more appreciated in schools and offices. In those scenarios you're more likely to worry about security concerns than an end user accidentally borking something and having to revert.

path: 0 26053162 26053479 26053594, hotness: undefined, score: 6, children: 0
slazer2au 3 points 19 days ago

Followup question, how do system files get patched if its mounted as RO?

path: 0 26053162 26053479 26054261, hotness: undefined, score: 3, children: 5
illusionist 8 points 19 days ago

Only the running system is read only, not everything. You simply boot into a new version when updating. If the new image fails, it boots into the old snapshot (i haven't seen this in practice on opensuse aeon because it did not yet break)

path: 0 26053162 26053479 26054261 26054436, hotness: undefined, score: 8, children: 4
MrManor 6 points 19 days ago

@illusionist
Reminds me of the old joke about Windows. "A new mouse position has been detected, please reboot your computer for this changes to take effect.."
@slazer2au

path: 0 26053162 26053479 26054261 26054436 26054635, hotness: undefined, score: 6, children: 0
UncleOb 3 points 19 days ago

Thank you! Does that mean you have to reboot every time you update something?

path: 0 26053162 26053479 26054261 26054436 26057732, hotness: undefined, score: 3, children: 2
moonpiedumplings 3 points 19 days ago

No, the root system being read only is not a security benefit. Attackers (with root or a root exploit) can remount as read only, or remove the immutable bits on files.

In addition to that, thinks like /var usually contain persistent state which can be written to, even on an immutable system

Now, an attackers changes to the root filesystem would probably be overwritten on the next image upgrade. Although better is impermeance, where the root filesystem is generated from config files on boot (NixOS can do this). That is better because now the system is wiped every boot, however it runs into some of the same issues: an attacker with root can modify the update mechanism, or the persistent config files.

While I would say that an immutable system offers practical security benefits, in that most existing Linux malware probably is designed for an orthodox system, it doesn't offer theoretical security benefits. It's just security by obscurity that will probably wane if/when immutable distros get more popular.

path: 0 26053162 26053479 26059577, hotness: undefined, score: 3, children: 2
illusionist 1 point 17 days ago

I can't get into a discussion about something I know too little about it. But, it has a reduced attack surface. Do you agree on that?

path: 0 26053162 26053479 26059577 26090614, hotness: undefined, score: 1, children: 1
moonpiedumplings 2 points 17 days ago

Some immutable distros like talos linux, have an extremely stripped down installation of linux with just what ia needed to run kubernetes.

However most immutable distros have something akin to the standard base of a normal linux distro.

And even then, the Linux kernel, is now one of the biggest attack surfaces, infintely more of a threat than having a package on the host. Most packages on the host, since they aren't setuid, can't really do anything malicious.

Flatpak sandboxing is interesting but not as strong as I would like, and not unique to immutable distros. In additiom to that, flatpak and docker have very little supply chain security compared to the traditional distro model of packaging, so the result is that we are trading this invincible supply chain (Debian/RedHat enterprise linux (but NOT fedora or bazzite or other less stable distros/Ubuntu were not affected by xz utils backdoor) for weak sandboxing, which is not something I'm very happy about.

Security makes a lot of trade offs between other elements of security, and features and peformance.

path: 0 26053162 26053479 26059577 26090614 26092711, hotness: undefined, score: 2, children: 0
pjusk 2 points 19 days ago

Not generally a fan of the opensuse products myself, but i do highly recommend trying immutable systems! Such a breeze to deal with. Been running Bazzite on main desktop pc for years now. Now looking into uCore for my servers too. Universal Blue doing excellent work for this community 💙

path: 0 26063992, hotness: undefined, score: 2, children: 0
opensuse
opensuse

@lemmy.world

login for more options
1138
169
58

openSUSE is an open, free and secure operating system for PC, laptops, servers and ARM devices. Managing your emails, browsing the web, watching online streams, playing games, serving websites or doing office work never felt this empowering. And best part? It's not only backed by one of the leaders in open source industry, but also driven by lively community.

go to feed...