<div class="gmail_quote">On Sun, Nov 20, 2011 at 12:22 AM, Andrew Pollock <span dir="ltr"><<a href="mailto:apollock@debian.org">apollock@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
dhclient-script got some major overhauling in 4.2.2-1, and your patch is no<br>
longer applicable.<br>
<br>
Is the original bug still present in 4.2.2-1?<br>
<br>
regards<br>
<font color="#888888"><br>
Andrew</font></blockquote><div><br></div><div>Andrew,</div><div><br></div><div>It does appear to work normally in 4.2.2-1 on Sid.  However, unless I am missing something it appears that you cannot specify a hostname locally without modifying '/etc/dhcp/dhclient.conf' to not request that information via DHCP or simply using static IP addresses.  For example if I make the following entry in "/etc/hosts" and issue the following command, the hostname ("sid-test") is not set on boot:</div>

<div><br></div><div>    10.0.0.2    sid-test    <a href="http://sid-test.timheckman.net">sid-test.timheckman.net</a></div><div><br></div><div>    `echo "sid-test" > /etc/hostname`</div><div><br></div><div>Instead, the hostname that was provided by DHCP is set every time.  Am I missing a way to allow you to specify a hostname locally and not use the one the DHCP server is providing without digging too deep in to configuration files?  I do not feel the dhclient-script should handle this way and should only set the hostname provided via DHCP if the local hostname is '(none)', 'localhost', if "/etc/hostname" has a size of 0, or if "/etc/hostname" has a size of zero and it differs from the current hostname set.</div>

<div><br></div><div>Also, it's good to see progress was made on an unstable version.  How is this going to be fixed up in the Debian Stable (6.0/Squeeze) package?</div><div><br></div><div>-Tim</div></div>