[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682342: (forw) Bug#682342: a fix for dhcp search path issues



Phil, you've been one of the most active ppl on netcfg. Care to comment?

----- Forwarded message from Sean Noonan <Sean.Noonan@twosigma.com> -----

Date: Tue, 21 May 2013 18:28:09 +0000
From: Sean Noonan <Sean.Noonan@twosigma.com>
To: "'682342@bugs.debian.org'" <682342@bugs.debian.org>
Subject: Bug#682342: a fix for dhcp search path issues
Reply-To: Sean Noonan <Sean.Noonan@twosigma.com>, 682342@bugs.debian.org
X-Mailing-List: <debian-boot@lists.debian.org> archive/latest/173316
X-CRM114-Status: Good  ( pR: 30.0127 )

We recently ran into this problem.  The expedient way to fix it is to replace the netcfg binary in the initrd with one compiled using the following patch.

--- dhcp.c             2013-01-13 08:23:24.000000000 -0500
+++ ../dhcp.c      2013-05-21 14:25:55.613957486 -0400
@@ -591,7 +591,7 @@
                         preseed_hostname_from_fqdn(client, buf);
                 }
-                if (netcfg_get_hostname (client, "netcfg/get_hostname", hostname, 1)) {
+                if (netcfg_get_hostname (client, "netcfg/get_hostname", hostname, !have_domain)) {
                     /*
                      * Going back to POLL wouldn't make much sense.
                      * However, it does make sense to go to the retry

----- End forwarded message -----

-- 



Attachment: signature.asc
Description: Digital signature


Reply to: