OpenVPN client on Ubuntu “suddenly” stopped working. A look through the logs showed that the update-resolv-conf script seems to be failing…
ovpn-openvpn[3552]: /etc/openvpn/update-resolv-conf tun0 1500 1542 x.x.x.x x.x.x.x init
ovpn-openvpn[3552]: script failed: external program exited with error status: 1
A quick trace of the update-resolv-conf script shows that the problem’s with resolvconf:
resolvconf: Error: /etc/resolv.conf must be a symlink
And the fix for that based on another solution:
sudo rm /etc/resolv.conf
sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf