• Dhar@lemmy.ca
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    6 days ago

    I’m still waiting for them to get DNS and user services working. Then it’ll finally be usable.

    • tal@olio.cafe
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      DNS

      There’s systemd-resolved. I don’t know if you mean that it has some kind of limitation.

      • Dhar@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        It doesn’t work with private DNS servers or forward DNS over VPN. Removing it is always the first thing I have to do with new Linux installs.

        • tal@olio.cafe
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 days ago

          It doesn’t work with private DNS servers or forward DNS over VPN.

          Like, you want to have it query some particular DNS server?

          From man 5 resolved.conf:

             DNS=
                 A space-separated list of IPv4 and IPv6 addresses to
                 use as system DNS servers. 
          
                 For compatibility reasons, if
                 this setting is not specified, the DNS servers listed
                 in /etc/resolv.conf are used instead, if that file
                 exists and any servers are configured in it.
          

          If you specify your private server there, it should work. For VPN, I mean, whatever VPN software you’re using will need to plonk it in there. Maybe yours is not aware of systemd-resolved, is modifying /etc/resolv.conf after systemd-resolved has already started, and it doesn’t watch it for updates?

          In my /etc/nsswitch.conf, I have:

          hosts:          files myhostname mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns
          

          I’m assuming that the “resolve” entry is for systemd-resolved.

          kagis

          https://www.procustodibus.com/blog/2022/03/wireguard-dns-config-for-systemd/

          With systemd-resolved, however, instead of using that DNS setting, add the following PostUp command to the [Interface] section of your WireGuard config file:

          PostUp = resolvectl dns %i 9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net; resolvectl domain %i ~.
          

          When you start your WireGuard interface up, this command will direct systemd-resolved to use the DNS server at 9.9.9.9 (or at 149.112.112.112, if 9.9.9.9 is not available) to resolve queries for any domain name.

      • Rooty@lemmy.world
        link
        fedilink
        arrow-up
        18
        ·
        6 days ago

        I still remember the bad old days of stale repositories and compiling from scratch. Never again.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          11
          ·
          6 days ago

          There was 25 years between c;m;mi and lennart’s cancer, filled with excellent choices better than either.

      • Cenzorrll@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        6 days ago

        I just had an issue with the vscodium flatpak, been using it for two months with no issue in an online course, got to learning GUIs, import module, doesn’t exist. I couldn’t figure out why it wasn’t there, installed three different python versions of it three different ways, still nothing. Couldn’t even get vscodium to point to a different interpreter that I knew was there (yet it doesn’t say it’s not there, just that some things won’t work). Still nothing. Three hours later, after trying everything I could think of, I realized that it was because I installed the flatpak version when it clicked that it worked in Geany and I didn’t have python 3.13 in my repos, yet that was the only one I could see in vscodium.

  • whoisearth@lemmy.ca
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    5 days ago

    My biggest complaint with systemd…

    Service xxx stop/start/restart is so much easier than

    Systemctl stop/start/restart xxx

    It fucking annoys me

  • ronflex@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    4 days ago

    Systemd has simplified my life on a few occasions, and it seems to be reliable from what I can tell. At the end of the day if I can get the OS to do what I want in a relatively simple matter, that’s all I care about.

    • Lettuce eat lettuce@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      16 hours ago

      In all seriousness, I’ve yet to encounter a situation where Systemd made any meaningful negative difference in my Linux experience.

      I’ve never had problems with any init system, Systemd or otherwise.