mullvadvpn-app icon indicating copy to clipboard operation
mullvadvpn-app copied to clipboard

Mullvad-vpn doesn't work correctly with systemd-resolved

Open niels0n opened this issue 10 months ago • 2 comments

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

  1. Use systemd-resolved instead of resolveconf
  2. 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.

niels0n avatar Apr 03 '24 15:04 niels0n

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.

dlon avatar Apr 23 '24 21:04 dlon

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.

niels0n avatar Apr 24 '24 10:04 niels0n