[Bug 1579192] Re: [SRU] dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0
Mathew Hodson
mathew.hodson at gmail.com
Thu May 12 18:34:28 UTC 2016
** Tags added: precise
** Tags added: regression-update
** Changed in: walinuxagent (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1579192
Title:
[SRU] dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0
Status in walinuxagent package in Ubuntu:
In Progress
Bug description:
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1579192/+subscriptions
More information about the Ubuntu-sponsors
mailing list