Skip to main content
Topic: Mullvad VPN dinit error (Read 4498 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Mullvad VPN dinit error

There's an error in the current "mullvad-vpn-dinit" file, available from the aur.

Here's the package that will install:
Code: [Select]
type            = process
command         = "/usr/bin/mullvad-daemon" -v --disable-stdout-timestamps
smooth-recovery = true
logfile         = /var/log/dinit/mullvad-vpn.log
waits-for       = loginready

If you use this you'll get errors because dinit doesn't recognise "loginready"

So, you can either remove (comment out) the line "waits-for = loginready" or, if it's helpful to other Mullvad VPN users, here's my dinit service file for "mullvad-vpn-cli".

Code: [Select]
type            = process
command         = "/usr/bin/mullvad-daemon" -v --disable-stdout-timestamps
smooth-recovery = true
logfile         = /var/log/dinit/mullvad-vpn.log
before          = login.target
depends-on      = network.target

XFCE (dinit) on home server, laptop and desktop!

Re: Mullvad VPN dinit error

Reply #1
God bless. That was exactly the hitch I had last night upgrading after coming back home from a trip, and the solution at the end is what helped me out. I think simply removing the waits-for line was still causing problems and preventing normal boot.

Re: Mullvad VPN dinit error

Reply #2
Thank you for the fix. I downloaded the Nordvpn-dinit from aur that had the same issue. Once the the "before", "depends-on" and "waits-for" were changed in the Package, the daemon connects without issue.