Your message dated Mon, 04 Dec 2006 16:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#322860: fixed in dhcp 2.0pl5-19.5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dhcp-client
Version: 2.0pl5-19.1
Severity: important
Tags: patch

Line 52 of /etc/dhclient-script writes "search $new_domain_name" to
/etc/resolv.conf. However, if $new_domain_name is emtpy, it merely
writes the word "search" which breaks /etc/resolv.conf and causes the
`host` command to stop working. Following is a (simple) patch to fix this
issue.

Cheers,
Benjamin


---- dhclient.patch ----


--- /etc/dhclient-script        2004-05-18 07:56:10.000000000 -0400
+++ dhclient-script     2005-08-12 23:38:30.000000000 -0400
@@ -49,7 +49,9 @@
   }
 else
   make_resolv_conf() {
-    echo search $new_domain_name >/etc/resolv.conf
+    if [ -n $new_domain_name ]; 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


-----End Patch-------


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dhcp-client depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an

dhcp-client recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: dhcp
Source-Version: 2.0pl5-19.5

We believe that the bug you reported is fixed in the latest version of
dhcp, which is due to be installed in the Debian FTP archive:

dhcp-client-udeb_2.0pl5-19.5_amd64.udeb
  to pool/main/d/dhcp/dhcp-client-udeb_2.0pl5-19.5_amd64.udeb
dhcp-client_2.0pl5-19.5_amd64.deb
  to pool/main/d/dhcp/dhcp-client_2.0pl5-19.5_amd64.deb
dhcp-relay_2.0pl5-19.5_amd64.deb
  to pool/main/d/dhcp/dhcp-relay_2.0pl5-19.5_amd64.deb
dhcp_2.0pl5-19.5.diff.gz
  to pool/main/d/dhcp/dhcp_2.0pl5-19.5.diff.gz
dhcp_2.0pl5-19.5.dsc
  to pool/main/d/dhcp/dhcp_2.0pl5-19.5.dsc
dhcp_2.0pl5-19.5_amd64.deb
  to pool/main/d/dhcp/dhcp_2.0pl5-19.5_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Barth <[EMAIL PROTECTED]> (supplier of updated dhcp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  4 Dec 2006 15:15:00 +0000
Source: dhcp
Binary: dhcp dhcp-client dhcp-client-udeb dhcp-relay
Architecture: source amd64
Version: 2.0pl5-19.5
Distribution: unstable
Urgency: low
Maintainer: Eloy A. Paris <[EMAIL PROTECTED]>
Changed-By: Andreas Barth <[EMAIL PROTECTED]>
Description: 
 dhcp       - DHCP server for automatic IP address assignment
 dhcp-client - DHCP Client
 dhcp-client-udeb - DHCP Client for debian-installer (udeb)
 dhcp-relay - DHCP Relay
Closes: 322860 380273
Changes: 
 dhcp (2.0pl5-19.5) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Add 117_fix_CVE-2006-3122 to fix remote DOS, CVE-2006-3122.
     Thanks to Andrew Steets for detecting and the patch. Closes: #380273
   * Update 202_script_resolvconf-support to not break resolv.conf even if
     domain_name is empty/undefined.  Closes: #322860
Files: 
 4fc6878de216c3b1582643b20067371d 673 net optional dhcp_2.0pl5-19.5.dsc
 f9960cf650f06455f075cec2d891c196 107816 net optional dhcp_2.0pl5-19.5.diff.gz
 11687932b23aac23b90df0abc6e421c2 116272 net optional dhcp_2.0pl5-19.5_amd64.deb
 424ccc154ef05cad98fbc1bfcbcbc046 108866 net optional 
dhcp-client_2.0pl5-19.5_amd64.deb
 4124757171094499c4af9a60e046248c 76236 net optional 
dhcp-relay_2.0pl5-19.5_amd64.deb
 0619527015f1fdd4bb2eb6d881159c6f 46746 debian-installer optional 
dhcp-client-udeb_2.0pl5-19.5_amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFdEMpmdOZoew2oYURAiMwAJ9ZRjcQkNgGQQN/Q1mKv88IOL/DnQCgk/ie
DdkEubWEhTmE97AkdKCMlS4=
=vKv0
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to