[Bug 1006937] Re: dhclient does not send hostname to dhcp-server

Stefan Bader stefan.bader at canonical.com
Tue Jun 5 14:20:34 UTC 2012


** Branch linked: lp:~stefan-bader-canonical/ubuntu/quantal/isc-
dhcp/proposed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1006937

Title:
  dhclient does not send hostname to dhcp-server

Status in “isc-dhcp” package in Ubuntu:
  Confirmed

Bug description:
  Since the last update dhclient does not send the hostname any more if
  not explicitly set within /etc/dhcp/dhclient.conf. The line "send
  host-name "<hostname>";" does not work as expected.

  I found:
  kernel: [   14.777460] type=1400 audit(1338471832.076:11): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=919 comm="apparmor_parser"
  in /var/log/syslog. Nothing else.

  After looking closely on if the config file was even read, I found it
  is not, because it is only searched at /usr/local/etc/dhclient.conf,
  /etc/dhclient.conf, but not at /etc/dhcp/dhclient.conf. Adding "-cf
  /etc/dhcp/dhclient.conf" to the commandline options solved the
  problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: isc-dhcp-client 4.1.ESV-R4-0ubuntu7
  ProcVersionSignature: Ubuntu 3.4.0-3.8-generic 3.4.0
  Uname: Linux 3.4.0-3-generic x86_64
  ApportVersion: 2.1.1-0ubuntu1
  Architecture: amd64
  Date: Thu May 31 16:05:27 2012
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   TERM=screen-bce
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1006937/+subscriptions




More information about the foundations-bugs mailing list