You are not logged in.

#1 2019-12-21 19:22:29

mkru
Member
Registered: 2019-12-21
Posts: 5

Problem with start order of iwd and systemd-resolved.

Today I have installed Arch Linux on yet another machine.
I have tried to use iwd for wifi management and systemd-resolved as DNS service.
I want to use iwd built-in DHCP client, so I have edited /etc/iwd/main.conf :

[General]
EnableNetworkConfiguration=true
[Network]
NameResolvingService=systemd

I have enabled both, iwd.service and systemd-resolved.service, but DNS did not work after reboot.

After quick look at journal it turned out, that iwd starts before systemd-resolved. The difference is approx 2 seconds and it is enough to fail.
One of the iwd logs is:

resolve-systemd: Failed to add DNS entries. Is 'systemd-resolved' service running?

.

Is it a desired behavior? Should it be reported as a bug, or maybe the documentation of iwd or systemd-resolved should be updated?
How to solve this? systemd-resolved could be added as a iwd depdency, however it is not good solution as there are different configurations where systemd-resolved is not needed.

Offline

#2 2019-12-21 20:07:43

glitsj16
Member
Registered: 2015-04-26
Posts: 116

Re: Problem with start order of iwd and systemd-resolved.

This seems to be asked/reported more often these days. There's a dedicated IWD thread on the forum. You might find a solution there if you skim throught it.

Offline

Board footer

Powered by FluxBB