The container fails to run, and exits with several sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory errors.
Expected Behavior
Container was working with above docker-compose file, using image tagged :4.0. It stopped working after a recent pull.
How have you tried to solve the problem?
Switched from :4.0 tag to :latest and a few different point releases up to :4.3.2.
Checked that my OS (Ubuntu jammy) was up to date; rebooted.
Tried recreating the container, with same effects
Log output
Starting container with revision: b33d0fe4c938259a0d4eb844e55468f387456121
Creating TUN device /dev/net/tun
Using OpenVPN provider: MULLVAD
Running with VPN_CONFIG_SOURCE auto
No bundled config script found for MULLVAD. Defaulting to external config
Downloading configs from https://github.com/haugene/vpn-configs-contrib/archive/main.zip into /tmp/tmp.igi7L6pLQZ
Extracting configs to /tmp/tmp.5O4iqLZX3v
Found configs for MULLVAD in /tmp/tmp.5O4iqLZX3v/vpn-configs-contrib-main/openvpn/mullvad, will replace current content in /etc/openvpn/mullvad
Cleanup: deleting /tmp/tmp.igi7L6pLQZ and /tmp/tmp.5O4iqLZX3v
No VPN configuration provided. Using default.
Modifying /etc/openvpn/mullvad/default.ovpn for best behaviour in this container
Modification: Point auth-user-pass option to the username/password file
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
Modification: Change ca certificate path
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
Modification: Change ping options
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
Modification: Update/set resolv-retry to 15 seconds
Modification: Change tls-crypt keyfile path
Modification: Set output verbosity to 3
Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
Modification: Updating status for config failure detection
Found existing OPENVPN credentials at /config/openvpn-credentials.txt
adding route to local network 192.168.0.0/16 via 172.18.0.1 dev eth0
2023-02-13 16:50:22 Cipher negotiation is disabled since neither P2MP client nor server mode is enabled
Options error: You must define TUN/TAP device (--dev)
Use --help for more information.
Is there a pinned issue for this?
Is there an existing or similar issue/discussion for this?
Is there any comment in the documentation for this?
Is this related to a provider?
Are you using the latest release?
Have you tried using the dev branch latest?
Docker run config used
Current Behavior
The container fails to run, and exits with several
sed: can't read /etc/openvpn/mullvad/default.ovpn: No such file or directory
errors.Expected Behavior
Container was working with above
docker-compose
file, using image tagged:4.0
. It stopped working after a recent pull.How have you tried to solve the problem?
:4.0
tag to:latest
and a few different point releases up to:4.3.2
.Log output
HW/SW Environment
Anything else?
No response