Make it possible again to let dhcp server set the client hostname

Bug #523188 reported by perpetualrabbit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dhcp3 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This is an important option for managed workstations like in universities and such.
In Hardy it was perfectly possible to let the dhcpserver set the clients hostname. In the server dhcpd.conf you can set hostnames for the clients like this:

    host appel {
      fixed-address appel.lorentz.leidenuniv.nl;
      hardware ethernet 00:13:d4:c2:2a:de;
      option host-name "appel";
    }

of even easier:

use-host-decl-names on; # This tells the server to provide the name after host as a hostname to the client

   host appel {
      fixed-address appel.lorentz.leidenuniv.nl;
      hardware ethernet 00:13:d4:c2:2a:de;
    }

In Hardy the dhcp3-client package used to pick this up perfectly, and the client used to set its own hostname. Now in Karmic it no longer works. I have to remove dhcp3-client and replace it with dhcpc to get this functionality back.

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the bug report Ill have a look at this. If possible can you check to see if this is fixed on lucid?

Regards
chuck

Changed in dhcp3 (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
perpetualrabbit (perpetualrabbit) wrote : Re: [Bug 523188] Re: Make it possible again to let dhcp server set the client hostname

I will check that next week, time permitting.

On Fri, Feb 19, 2010 at 3:14 PM, Chuck Short <email address hidden> wrote:
> Thanks for the bug report Ill have a look at this. If possible can you
> check to see if this is fixed on lucid?
>
> Regards
> chuck
>
> ** Changed in: dhcp3 (Ubuntu)
>   Importance: Undecided => Medium
>
> ** Changed in: dhcp3 (Ubuntu)
>       Status: New => Confirmed
>
> --
> Make it possible again to let dhcp server set the client hostname
> https://bugs.launchpad.net/bugs/523188
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Valentijn Sessink (valentijn) wrote :

Isn't this a duplicate for bug #482313?

Revision history for this message
Valentijn Sessink (valentijn) wrote :

We are perfectly able to set hostnames in Karmic; however, we have /etc/hostname explicitly set to '(none)', while (as far as I see in other reports), since Karmic, when /etc/hostname is missing, Ubuntu sets it to "localhost", thus making dhclient not set the hostname.

Revision history for this message
Valentijn Sessink (valentijn) wrote :

In Lucid, this is not fixed but it is in fact worse, see bug #537978

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.