I see people talking about doas saying it’s just like sudo but with less features. I’m just wondering if there is any situation where you should use doas or if it’s just personal preference.

  • matcha_addict@lemy.lol
    link
    fedilink
    arrow-up
    2
    ·
    9 months ago

    I see. I have little knowledge, but I bet that the “root privileges” part of this process is the reboot. Upon rebooting, system updates are applied from the new image via some privileged process.

    That’s pretty neat. Unfortunately I haven’t ventured deeply enough into that type of system yet (was it called immutable distro or something?). I use gentoo, which doesn’t support this out of the box.

    Thanks for showing me something new!

    • Pantherina@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Rebooting does not need root privileges either, on no system. There really is nothing privileged about updating already existing software. Android is completely rootless and updates are automatic, but can be done manually too.

      You can read a bit into OSTree, its very cool. But seems to be very complex and somehow they want to switch to OCI images now, idk.

      But the way ublue builds their systems is astonishing, elegant, simple, structured and fully automated.