Stop activating wpa_supplicant which is in conflict with iwd
Hello!
We've nowadays iwd as an alternative to wpa_supplicant but it must not be run in parallel:
After this Network Manager needs to be restarted. The wpa_supplicant daemon will often still be running in the background and needs to be explicitly stopped with killall wpa_supplicant. IWD is currently not automatically started by NM, see Getting Started about starting IWD – this can be done either before or after starting NM. wpa_supplicant and IWD should not generally be active at the same time, neither will be able to manage WiFi connections correctly during the time both are active.
But since 2.1.9 geoclue tries to activate wpa_supplicant via DBus. I understand that this change was done to improve portability. But I think it prevents here portability by enforcing a specific wireless daemon and probably causing undesired side-effects.
Workarounds are maybe:
systemctl mask wpa_supplicant.service
- or using a special package of NetworkManager which drops the dependency on wpa_supplicant
As a consequence the D-Bus activation fails. Maybe it is better to rely upon NetworkManager or another solution?
Thank you