|Summary:||net-misc/vpnc-0.5.3_p514: vpnc-script does not backup /etc/resolv.conf nor anticipate /etc/ppp/resolv.conf|
|Product:||Gentoo Linux||Reporter:||Martin Mokrejš <mmokrejs>|
|Component:||Current packages||Assignee:||Lori <lori>|
|Package list:||Runtime testing required:||---|
Description Martin Mokrejš 2012-02-28 13:09:32 UTC
Hi, I am using vpnc and have problems with my /etc/resolv.conf being functionally empty after closing vpnc (also when it dies): $ cat /etc/resolv.conf # Generated by resolvconf $ vpnc-script parses DNS info from a remote server and overwrites the /etc/resolv.conf file. This works fine but when vpnc dies/exits it does not restore the /etc/resolv.conf file to the previous state because there is no /etc/resolv.conf-backup file existing. Don't get me wrong. the etc/resolv.conf is filled with coorect values when the vpnc connection is made, it just does not restore to previous state during exit.
Comment 1 Justin Lecher (RETIRED) 2013-02-06 15:31:36 UTC
Could you please report this suggestion to email@example.com ? We are taking the script from him.
Comment 2 Martin Mokrejš 2013-03-10 21:48:58 UTC
An upstream commit r519 adds support for resolv.conf. We should probably provide an updated ebuild for up to r527: http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2013-March/thread.html Unfortunately I have no Cisco access anymore. Those having time to test one could play with a Cisco emulator: http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2013-March/003899.html .
Comment 3 Justin Lecher (RETIRED) 2013-03-10 22:01:21 UTC
thanks for tracking upstream. I will look into that soonish.