[Bug 1579192] Re: [SRU] dhclient.conf regression in walinuxagent 2.0.16-0ubuntu2~12.04.0

Ubuntu Foundations Team Bug Bot 1579192 at bugs.launchpad.net
Thu May 12 16:27:45 UTC 2016


The attachment "lp1579192.debdiff" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
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