Package: dhcpcd
Version: 1:3.2.3-2
Severity: important
Tags: patch
dhcpcd ships an /etc/dhcpcd.sh script. It will write resolv.conf or send
data to resolvconf.
If a DHCP answer does not include a DNS search value but a DNS domain,
dhcpcd.sh uses it for the 'search' line in resolv.conf. But it's using
the wrong variable.
--- debian/dhcpcd.sh 2009-01-19 13:02:32.000000000 +0100
+++ /etc/dhcpcd.sh 2009-01-19 12:56:00.000000000 +0100
@@ -51,7 +51,7 @@
r=""
[ "$dnsservs" != "" ] && [ "$DNSSEARCH" != "" ] && r="${r}search $DNSSEARCH
"
- [ "$dnsservs" != "" ] && [ "$DNSSEARCH" == "" ] && [ "$DOMAIN" != "" ] &&
r="${r}search $DOMAIN
+ [ "$dnsservs" != "" ] && [ "$DNSSEARCH" == "" ] && [ "$DNSDOMAIN" != "" ]
&& r="${r}search $DNSDOMAIN
"
for serv in $dnsservs; do
r="${r}nameserver $serv
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.28 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dhcpcd depends on:
ii bsdutils 1:2.13.1.1-1 Basic utilities from 4.4BSD-Lite
ii libc6 2.7-18 GNU C Library: Shared libraries
ii procps 1:3.2.7-11 /proc file system utilities
dhcpcd recommends no packages.
dhcpcd suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]