Package Details: mullvad-vpn-dinit 6-1

Git Clone URL: https://aur.archlinux.org/mullvad-vpn-dinit.git (read-only, click to copy)
Package Base: mullvad-vpn-dinit
Description: Dinit service scripts for Mullvad
Upstream URL: None
Keywords: dinit mullvad-vpn
Licenses: Unlicense
Submitter: None
Maintainer: None
Last Packager: super
Votes: 1
Popularity: 0.000101
First Submitted: 2022-07-23 14:10 (UTC)
Last Updated: 2025-07-16 04:22 (UTC)

Required by (0)

Sources (1)

Latest Comments

callumK commented on 2026-04-03 22:48 (UTC) (edited on 2026-04-03 22:58 (UTC) by callumK)

Hi. I was having this issue with your package

sudo dinitctl enable mullvad-daemon           08:42:45 AM
dinitctl: error loading service (or dependency of service).
dinitctl: try 'dinit-check <service-name>' or check log for more information.

dinit-check said the following

Checking service: mullvad-daemon...
Checking service: loginready...
Unable to load service 'loginready': service description not found.
Performing secondary checks...
Secondary checks complete.
One or more errors/warnings issued.

It appears that the loginready target used in the waits-for line was deprecated in dinit-rc and has now been removed I believe this is where it was deprecated and has been replaced with login.target

diff --git a/PKGBUILD b/PKGBUILD
index b51d97f..1846aef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('any')
 license=('Unlicense')
 depends=('mullvad-vpn' 'dinit')
 source=(mullvad-daemon)
-sha256sums=('5922c40e853e3b82a9a2231b1b4692204c6ccfd13044d51aa3d9de30f1fc3770')
+sha256sums=('b993e22e49383cc831f214801e00e67f990a19c0f792b360f82020b031256718')

 package() {
     install -Dm644 mullvad-daemon /etc/dinit.d/mullvad-daemon
diff --git a/mullvad-daemon b/mullvad-daemon
index 7f63bc4..6da2789 100644
--- a/mullvad-daemon
+++ b/mullvad-daemon
@@ -2,4 +2,4 @@ type            = process
 command         = /usr/bin/mullvad-daemon -v --disable-stdout-timestamps
 smooth-recovery = true
 logfile         = /var/log/dinit/mullvad-vpn.log
-waits-for       = loginready
+waits-for       = login.target

This patch just replaces loginready with login.target and updates the sha hash which fixed the issue on my system.