• Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    9
    arrow-down
    3
    ·
    9 hours ago

    Systemd is modular not monolithic. Distros choose which parts of system d to implement and it just happens to be most of it since its really good at what it does.

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      6 hours ago

      It is not modular. This is a lie Poettering keeps pushing to defend building a huge edifice of interdependent systems.

      Look at the effort required to factor out logind. It can’t just be used in it’s own; it has a hard dependency on systemd and needs code changes to decouple.

      I will repeat that journald is really bad at what it does, and further assert that you can not run systemd without journald, or vice versa. That you can not run systemd without getting timed job control. Even if you chose not to use it, it’s in there. And you can not get time job control without the init part. In most unix systems, init and cron are utterly decoupled and can be individually swapped with other systems.

      Systemd is not modular if you can’t swap parts out for other software. Systemd’s modularity is a bald-faced lie.

      The one exceptions are homed and resolvd, which are relatively new and were addedlong after systemd came under fire for being monolithic. And, ironically, they’re the components most distributions don’t use by default.

      • Fizz@lemmy.nz
        link
        fedilink
        arrow-up
        2
        ·
        1 hour ago

        Systemd boot, Systemd network and elogind I’m pretty sure can be decoupled. There’s 69 modules so I’m not entirely sure about all of them just the ones ive encountered.

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      4 hours ago

      You cannot even decouple SystemD from Glibc, never mind separating the various components from each other. It is a bunch of processes but it is designed as a monolith.

    • MonkCanatella@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      6 hours ago

      What do you mean by modular though? I assume there’s serious coupling amongst systemd modules that make “modularity” just theoretical

      • Fizz@lemmy.nz
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        Its like 70 different files and not all are required. You can swap out parts of systemd like run a different init system.

        • MonkCanatella@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          48 minutes ago

          Sure but I wouldn’t say something is modular just because some things are modules. LIke yeah you can swap out networkd, but how about journald?