After an update the vpnc is not able to pick up dns information

Bug #407379 reported by mosses
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Invalid
Undecided
LaMont Jones

Bug Description

Three days ago I updated my ubuntu 9.4, after the vpnc is not able to pick up the dns information from vpn source.

- below the packages updates.

-rw-r--r-- 1 root root 12K 2009-07-28 14:04 linux-restricted-modules-common_2.6.28-14.19_all.deb
-rw-r--r-- 1 root root 8.3M 2009-07-28 14:04 linux-headers-2.6.28-14_2.6.28-14.47_all.deb
-rw-r--r-- 1 root root 797K 2009-07-28 14:04 linux-restricted-modules-2.6.28-14-server_2.6.28-14.19_i386.deb
-rw-r--r-- 1 root root 796K 2009-07-28 14:04 linux-restricted-modules-2.6.28-14-generic_2.6.28-14.19_i386.deb
-rw-r--r-- 1 root root 654K 2009-07-28 14:05 linux-headers-2.6.28-14-server_2.6.28-14.47_i386.deb
-rw-r--r-- 1 root root 653K 2009-07-28 14:05 linux-headers-2.6.28-14-generic_2.6.28-14.47_i386.deb
-rw-r--r-- 1 root root 24M 2009-07-28 14:05 linux-image-2.6.28-14-generic_2.6.28-14.47_i386.deb
-rw-r--r-- 1 root root 24M 2009-07-28 14:05 linux-image-2.6.28-14-server_2.6.28-14.47_i386.deb
-rw-r--r-- 1 root root 744K 2009-07-28 14:05 linux-libc-dev_2.6.28-14.47_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-headers-server_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-headers-generic_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-generic_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-server_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-restricted-modules-server_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-restricted-modules-generic_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-image-server_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-image-generic_2.6.28.14.19_i386.deb
-rw-r--r-- 1 root root 642K 2009-07-28 16:46 libv8-0_1.2.14~svn20090728r2558-0ubuntu1~ucd2~jaunty_i386.deb
-rw-r--r-- 1 root root 18M 2009-07-28 19:01 chromium-browser_3.0.196.0~svn20090728r21871-0ubuntu1~ucd1~jaunty_i386.deb
-rw-r--r-- 1 root root 90K 2009-07-29 00:05 bind9utils_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 60K 2009-07-29 00:05 bind9-host_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 236K 2009-07-29 00:05 bind9_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 144K 2009-07-29 00:05 libisc45_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 531K 2009-07-29 00:05 libdns45_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 32K 2009-07-29 00:05 libbind9-40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 141K 2009-07-29 00:05 dnsutils_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 44K 2009-07-29 00:05 liblwres40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 43K 2009-07-29 00:05 libisccfg40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb
-rw-r--r-- 1 root root 26K 2009-07-29 00:05 libisccc40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb

mosses@mosses-laptop:/var/cache/apt/archives$ uname -a
Linux mosses-laptop 2.6.28-14-server #47-Ubuntu SMP Sat Jul 25 01:18:34 UTC 2009 i686 GNU/Linux

- This issue is happening in old kernel release
Ubuntu 9.04, kernel 2.6.28-13-server

- Workaround
handle the resolv.conf file

$ more /etc/resolvconf/run/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search externo.com mosses.com

$ sudo cp -rp /etc/resolv.conf-externo /etc/resolvconf/run/resolv.conf

$ cat /etc/resolvconf/run/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 125.147.4.5
nameserver 125.147.6.5
search externo.com mosses.com

Regards

Mosses

Revision history for this message
LaMont Jones (lamont) wrote :

You have installed bind9, and told it to have resolvconf update resolv.conf when it starts. You'll want to edit /etc/default/bind9 to say 'RESOLVCONF=no', and then starting bind9 will not rewrite resolv.conf

Changed in bind9 (Ubuntu):
assignee: nobody → LaMont Jones (lamont)
status: New → Invalid
Revision history for this message
mosses (milton-osses) wrote : Re: [Bug 407379] Re: After an update the vpnc is not able to pick up dns information

Hi, I am using NetworkManager and network-manager-vpnc and the issue didn't
happened again

Regards

Milton

On Fri, Aug 14, 2009 at 5:50 PM, LaMont Jones <email address hidden>wrote:

> You have installed bind9, and told it to have resolvconf update
> resolv.conf when it starts. You'll want to edit /etc/default/bind9 to
> say 'RESOLVCONF=no', and then starting bind9 will not rewrite
> resolv.conf
>
> ** Changed in: bind9 (Ubuntu)
> Status: New => Invalid
>
> ** Changed in: bind9 (Ubuntu)
> Assignee: (unassigned) => LaMont Jones (lamont)
>
> --
> After an update the vpnc is not able to pick up dns information
> https://bugs.launchpad.net/bugs/407379
> You received this bug notification because you are a direct subscriber
> of the bug.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.