Package: dhcp3-client
Version: 3.0+3.0.1rc9-5
Severity: normal
When "new_domain_name_servers" exists but "new_domain_name" doesn't,
dhclient-script doesn't setup the new nameserver entries in "resolv.conf".
This prevents the system to work properly on networks that don't provide
"new_domain_name" on DHCP requests.
Proposed change to make_resolv_conf():
make_resolv_conf() {
if [ "x$new_domain_name_servers" != x ]; then
rm -f /etc/resolv.conf
if [ "x$new_domain_name" != x ]; then
echo search $new_domain_name >/etc/resolv.conf
fi
for nameserver in $new_domain_name_servers; do
echo nameserver $nameserver >>/etc/resolv.conf
done
chmod 644 /etc/resolv.conf
fi
}
--
Chun-Chung Chen
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux air 2.4.19 #4 Sat Aug 3 20:37:45 PDT 2002 i686 unknown unknown GNU/Linux
Versions of the packages dhcp3-client depends on:
ii debconf 1.1.28 Debian configuration management system
ii debianutils 1.16.3 Miscellaneous utilities specific to Debian.
ii dhcp3-common 3.0+3.0.1rc9-5 Common files used by all the dhcp3* packages
ii libc6 2.2.5-14 GNU C Library: Shared libraries and Timezone
Package: dhcp3-client
Version: 3.0+3.0.1rc9-5
Severity: normal
When "new_domain_ name_servers" exists but "new_domain_name" doesn't,
dhclient-script doesn't setup the new nameserver entries in "resolv.conf".
This prevents the system to work properly on networks that don't provide
"new_domain_name" on DHCP requests.
Proposed change to make_resolv_conf():
make_resolv_conf() { domain_ name_servers" != x ]; then name_servers; do
if [ "x$new_
rm -f /etc/resolv.conf
if [ "x$new_domain_name" != x ]; then
echo search $new_domain_name >/etc/resolv.conf
fi
for nameserver in $new_domain_
echo nameserver $nameserver >>/etc/resolv.conf
done
chmod 644 /etc/resolv.conf
fi
}
--
Chun-Chung Chen
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux air 2.4.19 #4 Sat Aug 3 20:37:45 PDT 2002 i686 unknown unknown GNU/Linux
Versions of the packages dhcp3-client depends on:
ii debconf 1.1.28 Debian configuration management system
ii debianutils 1.16.3 Miscellaneous utilities specific to Debian.
ii dhcp3-common 3.0+3.0.1rc9-5 Common files used by all the dhcp3* packages
ii libc6 2.2.5-14 GNU C Library: Shared libraries and Timezone