50

I am using manjaro / arch linux and I see the following error messages in my system log.

journalctl -f 
...
dbus-daemon[798]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.4' (uid=0 pid=799 comm="/usr/bin/>
dbus-daemon[798]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
...

How do I fix this problem

nelaaro
  • 14,139
  • 30
  • 88
  • 115

1 Answers1

76

This problem is related to the network-manager and systemd-resolved.service.

After reading the the manjaro forums and the arch wiki

You have 2 options

configure network-manager to not use systemd-resolved.service

vim /etc/NetworkManager/conf.d/no-systemd-resolved.conf

With this content:

[main]
systemd-resolved=false

Activate and use systemd-resolved.service

check if it is running and enabled

systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
  Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
  Active: inactive (dead)
    Docs: man:systemd-resolved.service(8)
          https://www.freedesktop.org/wiki/Software/systemd/resolved
          https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
          https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients

Enable it:

systemctl enable systemd-resolved.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /usr/lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service → /usr/lib/systemd/system/systemd-resolved.service.

and start it:

systemctl start systemd-resolved.service

systemctl status systemd-resolved.service ● systemd-resolved.service - Network Name Resolution Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2019-04-19 10:36:53 SAST; 32min ago Docs: man:systemd-resolved.service(8) https://www.freedesktop.org/wiki/Software/systemd/resolved https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients Main PID: 21150 (systemd-resolve) Status: "Processing requests..." Tasks: 1 (limit: 4915) Memory: 5.0M CGroup: /system.slice/systemd-resolved.service └─21150 /usr/lib/systemd/systemd-resolved

That solved the errors from coming up in the logs.

xhudik
  • 103
nelaaro
  • 14,139
  • 30
  • 88
  • 115