Public bug reported:

The latest walinuxagent 2.0.16-0ubuntu2~12.04.0 package for Precise
included the postinst file from the Trusty package. The postinst script
configures dhclient.conf so that the DHCP client sends the system's
current hostname to the DHCP server. Unfortunately, the dhclient.conf
configuration is different for Precise and Trusty, and thus this
functionality regressed in Precise.

The solution is to just replace the postinst file in the Precise package
for the 2.0.16 walinuxagent with one from an older/correct package, and
rebuild the package.  If it helps I've attached the correct postinst
file for Precise to this bug.


Repro:
 - Create an Ubuntu 12.04 VM in Azure
 - Upgrade to the latest walinuxagent package for Precise 
(2.0.16-0ubuntu2~12.04.0)
 - Change the hostname
 - Run "sudo ifdown eth0 && sudo ifup eth0"
 - After a few seconds run "hostname -f"

Expected: Hostname is resolvable.

Result: Hostname is not resolvable because the new hostname was not sent
to the DHCP server, because the dhclient.conf configuration is
incorrect.

** Affects: walinuxagent (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "postinst"
   https://bugs.launchpad.net/bugs/1579192/+attachment/4657472/+files/postinst

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

Title:
  dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1579192/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to