** Patch added: "lp1579192.debdiff" https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1579192/+attachment/4661316/+files/lp1579192.debdiff
** Summary changed: - dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0 + [SRU] dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0 ** Description changed: + [Test Case] + + 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. + + [Regression Potential] + + The new postinst performs a sed which will only catch the line that was + incorrectly sed'ed in the previous version of the package. Regression + potential is minimal. + + [Original Report] + 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. -- 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: [SRU] 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
