• troed@fedia.io
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    Unix grey beard here.

    Yes. Distros with systemd are simply easier to maintain.

  • Cris@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Systemd is fine but I am kinda sad that it’s ubiquity has resulted in increasing dependence on it.

    I really like void linux which uses runit and it seems like its getting harder for things to work without systemd. Gnome made some changes fairly recently that increase dependence, I hope devs can build ways for gnome to still work :/

    My only real criticism is that using runit makes me feel like systemd could be a lot smaller and more elegant. But using systemd has never caused me any problems as best I’m aware 🤷‍♂️

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    No one cares about systemd at this point

    If you want to use your computer like it is 2005 go for it. Just don’t keep bringing up this dead topic.

  • Quik@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    One thing the author probably hasn’t done yet or just doesn’t mention is that you can configure .container services with systemd-podman units (often called quadlets), e.g. a simple MariaDB container would look like this:

    [Unit]
    Description=MariaDB container
    
    [Container]
    Image=docker.io/mariadb:latest
    Environment=MYSQL_ROOT_PASSWORD=rootpassword
    Environment=MYSQL_USER=testuser
    Environment=MYSQL_PASSWORD=testpassword
    Environment=MYSQL_DATABASE=testdb
    
    [Install]
    WantedBy=multi-user.target
    

    Short intro Full reference

    This is superb, because it means your containers finally feel well-integrated with the rest of the OS and you can use systemctl, journalctl, etc. just like you would with other services.

    Personally, I use this as an alternative to Podman/Docker compose and have been very happy with it running rootless containers from Nextcloud, Pufferpanel, Forgejo, Authentik, etc. (ask me for .container files if you need any help, I’m currently working on a small repo with a collection)

    • dwt@feddit.org
      link
      fedilink
      Deutsch
      arrow-up
      0
      ·
      8 months ago

      I like this, but even though pod man runs perfect rootless, quadlets can only run as root for now :-(

      • Quik@infosec.pub
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        Just place your Quadlets in the $HOME/.config/containers/systemd/ directory for this ;)

        The reference I linked to earlier also contains more information on rootless.

        • dwt@feddit.org
          link
          fedilink
          Deutsch
          arrow-up
          0
          ·
          8 months ago

          While that is true, that is not how I would run services normally with SystemD. Those would be defined globally, but run as a user.

          Definitiv then in the user home, means that I dint see them with systemctl which is very annoying.