100
submitted 5 months ago* (last edited 5 months ago) by snek_boi@lemmy.ml to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] hperrin@lemmy.world 18 points 5 months ago

Immutable, not really a difference. Bad updates can still break the OS.

AB root, however, it would be much easier to fix, but would still be a manual process.

[-] sugar_in_your_tea@sh.itjust.works 10 points 5 months ago

Aren't most immutable Linux distros AB, almost by definition? If it's immutable, you can't update the system because it's immutable. If you make it mutable for updates, it's no longer immutable.

The process should be:

  1. Boot from A
  2. Install new version to B
  3. Reboot into B
  4. If unstable, go to 1
  5. If stable, repeat from 1, but with A and B swapped

That's how immutable systems work. The main alternative is a PXE system, and in that case you fix the image in one place and power cycle all your machines.

If you're mounting your immutable system as mutable for updates, congratulations, you have the worst of immutable and mutable systems and you deserve everything bad that happens because of it.

[-] brian@programming.dev 5 points 5 months ago

idk if it would be manual, isn't the point of ab root to rollback if it doesn't properly boot afterwards?

[-] barsoap@lemm.ee 2 points 5 months ago* (last edited 5 months ago)

Honestly if you're managing kernel and userspace remotely it's your own fault if you don't netboot. Or maybe Microsoft's don't know what the netboot situation looks like in windows land.

this post was submitted on 20 Jul 2024
100 points (89.1% liked)

Technology

60047 readers
1613 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS