<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7099&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Unable to run Mullvad VPN]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7099</link>
		<description><![CDATA[The most recent posts in [SOLVED] Unable to run Mullvad VPN.]]></description>
		<lastBuildDate>Sun, 22 Mar 2026 19:26:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=62815#p62815</link>
			<description><![CDATA[<p><a href="https://github.com/sys-fs/mullvad-repack" rel="nofollow">https://github.com/sys-fs/mullvad-repack</a></p><p>is working correctly now.&#160; &#160;Compiled and running</p>]]></description>
			<author><![CDATA[dummy@example.com (Catnip)]]></author>
			<pubDate>Sun, 22 Mar 2026 19:26:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=62815#p62815</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=62802#p62802</link>
			<description><![CDATA[<p>I spoke too soon.&#160; &#160;The script above compiled, however mullvad can not connect.&#160; &#160;it was pointed out to me on IRC Channel this git repo<br /><a href="https://github.com/sys-fs/mullvad-repack" rel="nofollow">https://github.com/sys-fs/mullvad-repack</a></p><p>this script does run but.... there are errors i am unable to get rid of in apt.&#160; I am not sure exactly how to correct.&#160; &#160;i have the output below.&#160; &#160;If anyone has suggestions, please let me know.</p><p>Thank you</p><div class="codebox"><pre><code> sudo dpkg --configure -a
Setting up mullvad-vpn (2026.1) ...
insserv: warning: current start runlevel(s) (empty) of script `mullvad-daemon&#039; overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `mullvad-daemon&#039; overrides LSB defaults (1).
Starting Mullvad VPN daemon: mullvad-daemon.
update-rc.d: error: initscript does not exist: /etc/init.d/mullvad-early-boot-blocking
dpkg: error processing package mullvad-vpn (--configure):
 installed mullvad-vpn package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 mullvad-vpn</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Catnip)]]></author>
			<pubDate>Sun, 22 Mar 2026 01:03:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=62802#p62802</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=62795#p62795</link>
			<description><![CDATA[<p>Thank you!&#160; &#160;I was following&#160; another script shared with me which had errors.&#160; &#160;i edited your shell script on the 2026.1 deb file and everything works!</p><p>1st post as I just installed Devuan yesterday on my laptop, and second machine which i am typing on.&#160; &#160;This helped me greatly.&#160; Now i just wish I knew what each part of this shell script did..</p>]]></description>
			<author><![CDATA[dummy@example.com (Catnip)]]></author>
			<pubDate>Sat, 21 Mar 2026 19:38:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=62795#p62795</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=62584#p62584</link>
			<description><![CDATA[<p><strong>Edit2: Post heavily edited!</strong></p><p>Purpose: Modify &#039;mullvad-vpn_2025.14_amd64.deb&#039; to include sysv-init scripts. <br />Output: &#039;mullvad-vpn_2025.14~1sysv_amd64.deb&#039;</p><p>&#039;DEBIAN/postinst&#039;:<br />&#160; mullvad service is NOT enabled at boot time (intentionally)<br />&#160; systemctl lines are commented out: --&gt; no need for systemctl on devuan; then on systemd also NOT enabled at boot time<br />&#160; alternatively: systemctl lines can stay --&gt; updated &quot;docker-systemctl-replacement&quot; needed<br />Enable service: see post above &quot;forte&#160; #9&quot;</p><p>The following is a script to create the modified debian package. Adjust to your flavour.</p><div class="codebox"><pre class="vscroll"><code>$ cat modify_mullvad_deb.sh

#!/bin/bash
### recreate mullvad-deb-package for devuan
# https://unix.stackexchange.com/questions/138188/easily-unpack-deb-edit-postinst-and-repack-deb
# e.g.: (do as root!)
mkdir tmp
dpkg-deb -R mullvad-vpn_2025.14_amd64.deb tmp
## edit / patch  DEBIAN/postinst
# comment-out lines starting with &#039;systemctl&#039; ?
sed -i &#039;s/^systemctl/# systemctl/g&#039; tmp/DEBIAN/postinst
# patch for systemctl (docker-systemctl-replacement)
sed -i -e &#039;s/&quot;\/usr\/lib\/systemd\/system\/mullvad-daemon.service&quot;/mullvad-daemon.service/&#039; \
       -e &#039;s/&quot;\/usr\/lib\/systemd\/system\/mullvad-early-boot-blocking.service&quot;/mullvad-early-boot-blocking.service/&#039; \
    tmp/DEBIAN/postinst
# create sysv-init scripts
mkdir -p tmp/etc/init.d
sysd2v.sh tmp/usr/lib/systemd/system/mullvad-early-boot-blocking.service &gt; tmp/etc/init.d/mullvad-early-boot-blocking
sysd2v.sh tmp/usr/lib/systemd/system/mullvad-daemon.service &gt; tmp/etc/init.d/mullvad-daemon
sed -i &#039;s/&quot;MULLVAD_RESOURCE_DIR=/MULLVAD_RESOURCE_DIR=&quot;/&#039; tmp/etc/init.d/mullvad-daemon     # correct entry
chmod +x tmp/etc/init.d/mullvad-daemon tmp/etc/init.d/mullvad-early-boot-blocking
chmod g-w tmp/etc/init.d/mullvad-daemon tmp/etc/init.d/mullvad-early-boot-blocking
# re-pack
dpkg-deb -b tmp mullvad-vpn_2025.14~1sysv_amd64.deb

## installation
# cp mullvad-vpn_2025.14~1sysv_amd64.deb /tmp     # user &quot;_apt&quot; can not access files in /root/*
# apt install /tmp/mullvad-vpn_2025.14~1sysv_amd64.deb

#-----------------------------------------------------------------------------#
# Supplemental:
#
## sysd2v.sh   (to create sysv-init scripts)
# https://web.archive.org/web/20210412005920/http://www.trek.eu.org/devel/sysd2v/
# wget https://cgit.git.savannah.nongnu.org/cgit/sysvinit.git/tree/contrib/sysd2v.sh
# chmod +x sysd2v.sh; cp sysd2v.sh /usr/local/bin
#
# systemctl    (updated script - if installed package throws errors)
# git clone https://github.com/gdraheim/docker-systemctl-replacement
# cp docker-systemctl-replacemen/files/docker/systemctl3.py /usr/local/bin/systemctl</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Fri, 06 Mar 2026 19:53:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=62584#p62584</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55009#p55009</link>
			<description><![CDATA[<p>Had the same problem, great to see it was easier than what I was expecting! I&#039;m happy with OpenVPN and just using mullvad servers though. I don&#039;t trust those kinds of &quot;custom&quot; VPN software</p>]]></description>
			<author><![CDATA[dummy@example.com (lynch9)]]></author>
			<pubDate>Sat, 22 Mar 2025 18:41:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55009#p55009</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54949#p54949</link>
			<description><![CDATA[<p>This is great, thank you forte and juic3. The steps had to be spelled out to register x).</p>]]></description>
			<author><![CDATA[dummy@example.com (Deze)]]></author>
			<pubDate>Sat, 15 Mar 2025 16:25:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54949#p54949</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54944#p54944</link>
			<description><![CDATA[<p>The <span class="bbc">systemctl</span> command is not available on non-systemd distributions. That&#039;s why Mullvad VPN doesn&#039;t work automatically on Devuan.</p><p>1. Create a new file in <span class="bbc">/etc/init.d</span> called &quot;mullvad&quot;.<br />2. Paste the contents of the script kindly provided by <strong>juic3</strong> a few posts back (thanks again).<br />3. Grant the script with executable permissions by running: <span class="bbc">sudo chmod +x /etc/init.d/mullvad</span>.<br />4. Run <span class="bbc">sudo update-rc.d mullvad defaults</span>.</p><p>Mullvad VPN should start automatically now.</p>]]></description>
			<author><![CDATA[dummy@example.com (forte)]]></author>
			<pubDate>Sat, 15 Mar 2025 13:34:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54944#p54944</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54942#p54942</link>
			<description><![CDATA[<p>After installing the app using the Mullvad repository it&#039;s a matter of <br /><span class="bbc">sudo systemctl start mullvad-daemon</span> or am I missing something?</p><p>I would like to autostart this terminal command but haven&#039;t found a way that&#039;s beginner-friendly.</p>]]></description>
			<author><![CDATA[dummy@example.com (Deze)]]></author>
			<pubDate>Sat, 15 Mar 2025 13:19:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54942#p54942</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54837#p54837</link>
			<description><![CDATA[<p>I thought that was just generic boilerplate, and didn&#039;t stop to read through but I&#039;ll be sure to take a closer look. Thanks again!</p>]]></description>
			<author><![CDATA[dummy@example.com (forte)]]></author>
			<pubDate>Sun, 09 Mar 2025 10:54:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54837#p54837</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54829#p54829</link>
			<description><![CDATA[<p>I guess I must have used the sysd2v script, mentioned in the comments in mullvad init script <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />&quot;# Generated by sysd2v v0.3&#160; --&#160; <a href="http://www.trek.eu.org/devel/sysd2v" rel="nofollow">http://www.trek.eu.org/devel/sysd2v&quot;</a></p>]]></description>
			<author><![CDATA[dummy@example.com (juic3)]]></author>
			<pubDate>Sat, 08 Mar 2025 13:31:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54829#p54829</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54810#p54810</link>
			<description><![CDATA[<p>All right, that worked perfectly! This leaves me with so many questions such as... why? <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> From all the example init scripts that I&#039;ve seen, this seems so much shorter. How did you come up with that? Asking because I&#039;d like to know more about it in case I have to do the same with some other service.</p><p>Thank you very much!</p>]]></description>
			<author><![CDATA[dummy@example.com (forte)]]></author>
			<pubDate>Fri, 07 Mar 2025 18:20:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54810#p54810</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54793#p54793</link>
			<description><![CDATA[<p>Just the new one, no combining. Rest of your procedure sounded right.</p>]]></description>
			<author><![CDATA[dummy@example.com (juic3)]]></author>
			<pubDate>Fri, 07 Mar 2025 04:46:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54793#p54793</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54781#p54781</link>
			<description><![CDATA[<p>I&#039;m sorry, do I need to combine this with the script linked in the previous post? Thanks for that as well, just realized it&#039;s yours!</p><p>If I were to completely remove Mullvad and start over, is this what I should do:</p><p>1. Install Mullvad by either:<br />&#160; &#160;a) adding their repository (replacing the code name for &quot;bookworm&quot;).<br />&#160; &#160;b) running from the <span class="bbc">.deb</span> file directly.<br />2. Create a new file at <span class="bbc">/etc/init.d/mullvad</span> with the contents of this snippet, followed by the rest of the code from the other post starting at around line 20 onwards.<br />3. Run <span class="bbc">sudo update-rc.d mullvad defaults</span>.<br />4. Reboot?</p><p>Clearly, I&#039;m out of my element here. I don&#039;t mind using the command line and navigate up and down directories, but I&#039;ve just never handled anything related to SysVinit. In fact, I&#039;ve never even handled any systemd services, either.</p><p>Anyway, thanks for the help.</p>]]></description>
			<author><![CDATA[dummy@example.com (forte)]]></author>
			<pubDate>Thu, 06 Mar 2025 18:40:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54781#p54781</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54780#p54780</link>
			<description><![CDATA[<p>Hello, I&#039;m still running Mullvad on Devuan.<br />The Mullvad file locations have changed a little, my current /etc/init.d/mullvad file looks like this:</p><div class="codebox"><pre><code>#!/bin/sh
# Generated by sysd2v v0.3  --  http://www.trek.eu.org/devel/sysd2v
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != &quot;$INIT_D_SCRIPT_SOURCED&quot; ] ; then
    set &quot;$0&quot; &quot;$@&quot;; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides:       mullvad-daemon.service
# Required-Start: $syslog $local_fs $remote_fs  
# Required-Stop:  $remote_fs
# Should-Start:   $network NetworkManager
# Should-Stop:    $network NetworkManager
# chkconfig: 35 90 10
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:    Mullvad VPN daemon
### END INIT INFO
DESC=&quot;mullvad-daemon&quot;
DAEMON=/usr/bin/mullvad-daemon
DAEMON_ARGS=&quot;-v --disable-stdout-timestamps&quot;
PIDFILE=/var/run/mullvad-daemon.service-sysd2v.pid
START_ARGS=&quot;--background --make-pidfile&quot;</code></pre></div><p>Then you need to run &#039;sudo update-rc.d mullvad defaults&#039; to enable mullvad-daemon.<br />I just commented out the systemctl lines from the postinst script to get rid off errors while running system updates.</p>]]></description>
			<author><![CDATA[dummy@example.com (juic3)]]></author>
			<pubDate>Thu, 06 Mar 2025 14:56:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54780#p54780</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Unable to run Mullvad VPN]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54768#p54768</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I&#039;ve recently moved to Devuan and I&#039;m still working out a few issues that I have. The ones that I&#039;m most unfamiliar with are all related to SysVinit, and more specifically I&#039;d like to ask for some assistance with getting Mullvad VPN up and running.</p><p>I did search in the forum and found a few matches about this same issue, including one where an init script was suggested and which I&#039;ve tried, to no avail.</p><p><a href="https://dev1galaxy.org/viewtopic.php?id=3500" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=3500</a></p><p>Unfortunately, after trying this the Mullvad GUI doesn&#039;t even launch after I created this script in <span class="bbc">/etc/init.d/mullvad</span>. Before that, it would launch but with an error saying that the connection did not work, or something around those lines. Which I assume is because of this other error that I got while installing it in the first place (this is from <span class="bbc">/var/log/apt/term.log</span>):</p><div class="codebox"><pre><code>Preparing to unpack .../mullvad-vpn_2025.4_amd64.deb ...
Unpacking mullvad-vpn (2025.4) ...
Setting up mullvad-vpn (2025.4) ...
/var/lib/dpkg/info/mullvad-vpn.postinst: line 6: systemctl: command not found
dpkg: error processing package mullvad-vpn (--configure):
 installed mullvad-vpn package post-installation script subprocess returned error exit status 127
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Errors were encountered while processing:
 mullvad-vpn</code></pre></div><p>Obviously, something to do with systemd... I wonder if someone here could help me?</p><p>Thank you</p>]]></description>
			<author><![CDATA[dummy@example.com (forte)]]></author>
			<pubDate>Wed, 05 Mar 2025 21:26:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54768#p54768</guid>
		</item>
	</channel>
</rss>
