Comment 8 for bug 96260

Revision history for this message
Martijn Evers (mevers) wrote : Re: n-m-openvpn erases resolv.conf info

Same problem here,

Tried the patch but it won't work. nm is still overwriting /etc/resolv.conf.

local eth0 dhcp client (good):
> # generated by NetworkManager, do not edit!
>
> search RtS
>
>
> nameserver x.x.x.x
> nameserver x.x.x.x

nm - openvpn plugin connecting... no dns information found so /etc/resolv.conf is empty:
> # generated by NetworkManager, do not edit!
>
>
>
>

In the openvpn plugin i can choose to set the option 'Only use VPN connection for these addresses'. Which i use because
i only need openvpn to connect to two remote hosts. Like Eythian said, it must not modify /etc/resolv.conf when this option is enabled.