starting openvpn, quitting, and then doing 'sudo resolvconf -u ' fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvpn (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Initial symptom: DNS stopped working.
Initial workaround: copy DNS server from gnome system settings to /etc/resolv.conf manually
Got fed up, saw https:/
which led me to https:/
To reproduce:
0) observe that /etc/resolv.conf is a symlink to ../run/
1) sudo apt install openvpn
2) configure /etc/openvpn to access the vpn of interest
3) Log in to openvpn, e.g.
cd /etc/openvpn
sudo openvpn --config /etc/openvpn/
4) observe that /etc/resolv.conf is now a regular file
5) observe that 'sudo resolvconf -u' says '/etc/resolvcon
6) log out of openvpn by pressing ^C in its window
7) observe that /etc/resolv.conf is still a regular file (probably a copy of what was in ../run/
8) Reboot
9) voila, dns not working
10) rescue by running sudo dpkg-reconfigure resolvconf, answering 'yes' (and optionally rebooting)
Problem repeats each time openvpn is used.
Also affects ubuntu 16.04, I think, at least as of the last few weeks.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: openvpn 2.4.3-4ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 25 07:08:15 2017
InstallationDate: Installed on 2017-04-29 (179 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openvpn
UpgradeStatus: Upgraded to artful on 2017-10-20 (5 days ago)
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.