-
Notifications
You must be signed in to change notification settings - Fork 96
Description
Version in use.
1.3.0-4, amd64 (from the Ubuntu package sources)
Your Linux distribution.
Ubuntu 24.04.2 LTS
Your systemd version.
systemd 255 (255.4-1ubuntu8.8)
Your network management software.
systemd-networkd
Please describe the bug.
If you try to establish a connection using the conf from /usr/share/doc/ with the following command:
openvpn --config /path/to/my/config.ovpn --config /usr/share/doc/openvpn-systemd-resolved/update-systemd-resolved.conf
The execution fails with the following error message:
Options error: --up script fails with '/etc/openvpn/scripts/update-systemd-resolved': No such file or directory (errno=2)
Options error: Please correct this error.
The script is installed on Ubuntu 24.04 in /etc/openvpn/update-systemd-resolved (installed from the Ubuntu package sources using apt install openvpn-systemd-resolved).
The file /usr/share/doc/openvpn-systemd-resolved/update-systemd-resolved.conf contains an incorrect path:
/etc/openvpn/scripts/update-systemd-resolved instead of /etc/openvpn/update-systemd-resolved
After fixing the path, everything works fine.
Output of resolvectl status.
No response
Other helpful details.
No response