Subject: /etc/resolv.conf overwitte with broken version ("domain" instead of "search") Package: dhcp3-client Version: 3.1.0-2 Severity: important
Since a few weeks, my /etc/resolv.conf is overwritten by a broken version after the network link has been up for a few hours. I suspect this might be related to this recent change in dhcp3-client: * debian/dhclient-script.{linux,kfreebsd}: if the domain-name option is set, set "domain" in /etc/resolv.conf, if the domain-search option is set, set "search" in /etc/resolv.conf When I first connect to a network link (via NetworkManager), networkmanager writes a correct resolve.conf like this: | # generated by NetworkManager, do not edit! | search baz.lan zoetekouw.net zoetekouw.net. vpn.zoetekouw.net. | nameserver 192.168.1.11 where "baz.lan zoetekouw.net" originates from the dhcp server, and "zoetekouw.net. vpn.zoetekouw.net." from my /etc/dhcp3/dhclient.conf: | append domain-name " zoetekouw.net. vpn.zoetekouw.net. "; | request subnet-mask, broadcast-address, time-offset, routers, | domain-name, domain-name-servers, host-name, | netbios-name-servers, netbios-scope, interface-mtu; The lease I get is (from /var/lib/dhcp3/dhclient.eth1.leases): | lease { | interface "eth1"; | fixed-address 192.168.1.13; | option subnet-mask 255.255.255.0; | option routers 192.168.1.11; | option dhcp-lease-time 86400; | option dhcp-message-type 5; | option domain-name-servers 192.168.1.11; | option dhcp-server-identifier 192.168.1.11; | option domain-name "baz.lan zoetekouw.net zoetekouw.net. vpn.zoetekouw.net. "; | renew 6 2008/01/26 06:06:02; | rebind 6 2008/01/26 16:02:25; | expire 6 2008/01/26 19:02:25; | } Now, when the links is kept up long enough, /etc/resolv.conf is overwritten by: | domain baz.lan zoetekouw.net zoetekouw.net. vpn.zoetekouw.net. | nameserver 192.168.1.11 Note the "domain" instead of "search" and the misschien second "zoetekouw.net" entry. This resolv.conf is not written by NetworkManager, as it lacks the netwokmanager "do not edit" comment. I think this might be written by dhcp3-client when the lease is renewed. I'm not entirely sure though, but I can;t think of any other program that might be messing with resolv.conf. Any idea what could be the problem? -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23.1 (PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dhcp3-client depends on: ii debconf [debconf-2.0] 1.5.18 Debian configuration management sy ii debianutils 2.28.2 Miscellaneous utilities specific t ii dhcp3-common 3.1.0-2 common files used by all the dhcp3 ii libc6 2.7-6 GNU C Library: Shared libraries dhcp3-client recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]