mullvadvpn-app
mullvadvpn-app copied to clipboard
Mullvad-vpn doesn't work correctly with systemd-resolved
Is it a bug?
- [X] I know this is an issue with the app, and contacting Mullvad support is not relevant.
I have checked if others have reported this already
- [X] I have checked the issue tracker to see if others have reported similar issues.
Current Behavior
If connected to VPN and using systemd-resolved
instead of resolveconf
, commands with sudo
and browser launching are delayed of ~20 seconds.
Expected Behavior
To be able to connect to VPN using systemd-resolved
without having a significant delay.
Steps to Reproduce
- Use
systemd-resolved
instead ofresolveconf
- Connect to VPN
Failure Logs
No response
Operating system version
Pop!_OS 22.04 LTS
Mullvad VPN app version
2024.1
Additional Information
Posting this issue was suggested by a Pop!_OS dev here. You can read the last replies of the issue to have additional informations.
Have you made sure that /etc/resolv.conf
is symlinked to systemd-resolved
's config? Usually ls -l /etc/resolv.conf
should output something like this: /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
. If that's not the case, systemd-resolved
may not be detected.
The symlink does exist, but in my system it is, by default, symlinked to ../run/resolvconf/resolv.conf
, instead of ../run/systemd/resolve/stub-resolv.conf
.