[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
This bug was fixed in the package walinuxagent - 1.3.2-0ubuntu4~12.04.7 --- walinuxagent (1.3.2-0ubuntu4~12.04.7) precise; urgency=medium * Revert of regression introduced with LP: #1268050: use compatible DHCP send hostname (LP: #1308974) -- Ben Howard ben.how...@ubuntu.com Thu, 17 Apr 2014 11:51:14 -0600 ** Changed in: walinuxagent (Ubuntu Precise) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
** Description changed: SRU Justification Impact: The fix for bug #1268050 on 12.04 switches the dhcpclient.conf configuration from hostname to gethostname(). This fix, while valid for later versions of isc-dhcp-client, in invalid for 12.04. Therefore, this fix should be reverted and remediated. Fix: Revert previous patch Test case: - Launch new Azure instance with serial of 20140408 - Install new package - - Confirm that /etc/dhcp/dhcpclient.conf has 'send hostname hostname' + - Confirm that /etc/dhcp/dhclient.conf has 'send hostname hostname' -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
Verified with version 1.3.2-0ubuntu4~12.04.7 on Azure. Installation of package resulted in 'send host-name hostname;' in /etc/dhcp/dhclient.conf. ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
** Patch added: Final debdiff patch https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+attachment/4092743/+files/debdiff.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
Tested patch, and confirmed it removes the regression. ** Description changed: - The fix for bug #1268050 on 12.04 switches the dhcpclient.conf + SRU Justification + + Impact: The fix for bug #1268050 on 12.04 switches the dhcpclient.conf configuration from hostname to gethostname(). This fix, while valid for later versions of isc-dhcp-client, in invalid for 12.04. Therefore, this fix should be reverted and remediated. + + Fix: Revert previous patch + + Test case: + - Launch new Azure instance with serial of 20140408 + - Install new package + - Confirm that /etc/dhcp/dhcpclient.conf has 'send hostname hostname' -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
Upload fix, pending SRU. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
** Also affects: walinuxagent (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: walinuxagent (Ubuntu Precise) Status: New = In Progress ** Changed in: walinuxagent (Ubuntu Precise) Importance: Undecided = Medium ** Changed in: walinuxagent (Ubuntu Precise) Assignee: (unassigned) = Ben Howard (utlemming) ** Changed in: walinuxagent (Ubuntu) Status: In Progress = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
** Tags added: precise regression-update -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
Hi Ben, Is it necessary to revert the patch to /usr/sbin/waagent itself rather than just the packaging? The original issue was about users calling 'waagent -deprovision', so my concern is that this issue might pop up again if we revert that patch. As far as I can tell the fix to waagent is working as expected. The agent currently calls UpdateAndPublishHostName()-UpdateAndPublishHostNameCommon() only if Provisioning.MonitorHostName=y in waagent.conf (it is set to 'n' on 12.04), or if we run -deprovision. If it sees ether send 'hostname' or 'gethostname()' it will not touch the dhclient.conf file. The problem here is that dhclient.conf is misconfigured after even the first provision. Thanks, Steve -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter
Confirmed Stephen's comment with packaging changes. The attached debdiff fixes the problem. I've confirmed Stephen's assessment and confirmed the fix via packaging changes. Uploaded new version for SRU. ** Patch added: Only revert packaging change https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+attachment/4086436/+files/debdiff.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu. https://bugs.launchpad.net/bugs/1308974 Title: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs