FS#62138 - [networkmanager] NetworkManager keeps asking for org.freedesktop.resolve1
Attached to Project:
Arch Linux
Opened by Bachsau (Bachsau) - Monday, 25 March 2019, 17:41 GMT
Last edited by Toolybird (Toolybird) - Monday, 29 May 2023, 03:38 GMT
Opened by Bachsau (Bachsau) - Monday, 25 March 2019, 17:41 GMT
Last edited by Toolybird (Toolybird) - Monday, 29 May 2023, 03:38 GMT
|
Details
Description:
Even though main.dns is set to default in NetworkManagers configuration file, it keeps requesting org.freedesktop.resolve1: Mar 25 18:34:34 BachsauDesk dbus-daemon[614]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.15' (uid=0 pid=616 comm="/usr/bin/NetworkManager --no-daemon ") Mar 25 18:34:34 BachsauDesk dbus-daemon[614]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found. Since then, connections to SFTP servers by GVFS don't work anymore. This seems closely related to |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 29 May 2023, 03:38 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
Monday, 29 May 2023, 03:38 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
FS#61738Either way, it helped in that NetworkManager stopped spamming my log files. Unfornately, it didn't solve my probems with GVFS though. Either that is just an interely differend problem, or the now removed service did something GFVS and VPNC dependet on, even when systemd-resolved was disabled. Would that be possible?
The message in journal is likely because there's no "/usr/lib/systemd/system/dbus-org.freedesktop.resolve1.service -> systemd-resolved.service" symlink. If there was, then NetworkManager would activate systemd-resolved (which might not be desired by the user and could have a large effect due to "resolve" being before "dns" in /etc/nsswitch.conf)
<literal>systemd-resolved</literal>. Defaults to "<literal>true</literal>".
In commit message upstream tells to use false if needed:
"If for whatever reasons don't want NetworkManager to push the DNS data
it discovers to systemd-resolved, the functionality can be disabled
with:
[main]
systemd-resolved=false"
@Bachsau if it doesn't fix your problem then it seems unrelated to this.