• BeardedBlaze@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    22 hours ago

    I can’t tell you how many times I’ve had an update on a mutable system fuck my shit up to a point I just reinstalled the distro. Not having to worry about that is my primary reason for moving to immutable system. While malware and viruses are still mostly prevalent in the windows world, Linux isn’t immune to it. That is, unless it’s an immutable distro.

    • ranzispa@mander.xyz
      link
      fedilink
      arrow-up
      2
      ·
      21 hours ago

      I had that happen many times, but that was on arch. On other distributions getting updates which break the system is quite rare in my experience.

      How does an immutable distribution make the system immune to virus? I’d imagine flatpak can have upstream attacks as well as opening stuff in vulnerable software. You still have access to all your personal files, which is likely what the malware will go after.

      • MangoCats@feddit.it
        link
        fedilink
        English
        arrow-up
        4
        ·
        19 hours ago

        Immutable means: every time you power it on, it’s the same.

        So, if you get infected by a virus, power cycle and it’s like it never happened.

        That, like everything you read on the internet, is a gross oversimplification, caveats apply, etc. etc. but for the most part, that’s what immutable means: the running system has no ability to persist changes (except in very specific, controlled, secure, easier to protect circumstances…)

        • muusemuuse@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          “Today I played this awesome hacker game called “terminal” and when I put in the “lbu commit” cheat code, I unlocked an ass-beating!”

          “Dad says we can’t play at your house anymore, Jake.”

        • ranzispa@mander.xyz
          link
          fedilink
          arrow-up
          2
          ·
          19 hours ago

          I guess a virus can, and often does, live in plain data. Moreover, can you not have scripts and executables in your personal directory? Can you not schedule a cronjob or a systemd service?

          • MangoCats@feddit.it
            link
            fedilink
            English
            arrow-up
            4
            ·
            19 hours ago

            Everything is possible. The point of immutability is the ability to restore to “factory fresh” state with a power cycle.

            In theory, the data section is treated as data only, not executable. Software (games) can, and will, improperly store and execute code there, but at least they can be identified when they do and disabled/removed without breaking the underlying system.