[Bug 1579192] [NEW] [SRU] dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0
Launchpad Bug Tracker
1579192 at bugs.launchpad.net
Thu May 12 16:27:43 UTC 2016
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
[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.
** Affects: walinuxagent (Ubuntu)
Importance: Undecided
Assignee: Dan Watkins (daniel-thewatkins)
Status: In Progress
** Tags: patch
--
[SRU] dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0
https://bugs.launchpad.net/bugs/1579192
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list