Report information
The Basics
Id:
18183
Status:
resolved
Estimated:
12 hours (720 minutes)
Left:
12 hours (720 minutes)
Priority:
Low/Low
Queue:

BugTracker
Version Fixed:
4.4.0 4.3.6 4.1-ESV-R15
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
4.3.6
Priority:
P1 High
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
(no value)
Area:
feature

Dates
Created:Tue, 17 Jun 2008 00:32:53 -0400
Updated:Mon, 15 Jan 2018 14:48:26 -0500
Closed:Wed, 28 Jun 2017 14:08:31 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

CC: 486535-forwarded@bugs.debian.org, martin.pitt@ubuntu.com
Subject: [martin.pitt@ubuntu.com: Bug#486520: dhcp3-client: Call dhclient-script FAIL in single-shot mode]
Date: Tue, 17 Jun 2008 14:32:39 +1000
To: dhcp-bugs@isc.org
From: Andrew Pollock <apollock@debian.org>
Hello, This bug report was received today, with a patch. Ubuntu is already carrying this feature. You might like to consider adding it to a future point release if it qualifies, or a future feature release if it does not. Please maintain the Cc on any followup correspondence to keep our BTS in the loop. regards Andrew ----- Forwarded message from Martin Pitt <martin.pitt@ubuntu.com> ----- From: Martin Pitt <martin.pitt@ubuntu.com> To: Debian BTS Submit <submit@bugs.debian.org> Subject: Bug#486520: dhcp3-client: Call dhclient-script FAIL in single-shot mode Date: Mon, 16 Jun 2008 17:58:40 +0200 User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Package: dhcp3-client Version: 3.1.1-1 Tags: patch User: ubuntu-devel@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch intrepid When "dhclient -1" fails to get an address, it does not call dhclient-script FAIL as it does without -1. This breaks e. g. the avahi-autoipd invocation in this mode (which dhcdbd uses by default). Attached patch was applied in Ubuntu a while ago, and it fixes the bug. Now avahi-autoipd assigns an IPv4LL address for timed out DHCP requests correctly. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) #! /bin/sh /usr/share/dpatch/dpatch-run ## dhclient-onetry-call-clientscript.dpatch by Martin Pitt <martin.pitt@ubuntu.com> ## ## DP: Call 'dhclient-script FAIL' when failing to get an address also when ## DP: operating in oneshot mode (-1). This fixes avahi-autoipd invocation ## DP: through dhcdbd. @DPATCH@ diff -urNad dhcp3-3.0.4~/client/dhclient.c dhcp3-3.0.4/client/dhclient.c --- dhcp3-3.0.4~/client/dhclient.c 2006-12-01 14:18:30.000000000 +0100 +++ dhcp3-3.0.4/client/dhclient.c 2006-12-01 14:18:45.000000000 +0100 @@ -1556,6 +1556,8 @@ if (!quiet) log_info ("Unable to obtain a lease on first try.%s", " Exiting."); + script_init (client, "FAIL", (struct string_list *)0); + script_go (client); exit (2); } ----- End forwarded message -----

Message body not shown because it is not plain text.

RT-Send-CC: martin.pitt@ubuntu.com, 486535-forwarded@bugs.debian.org
Hi, It's been a while, but we've finally gotten to this particular ticket. Apologies for the delay. Thanks for providing the patch. We will include this fix in our upcoming maintenance release. How would you like to be credited for this patch? Does the following look ok to you? "Thanks for a patch by Martin Pitt which got to us via Andrew Pollock." Thanks, Tomek Mrugalski ISC On Tue Jun 17 06:32:53 2008, apollock@debian.org wrote: > Hello, > > This bug report was received today, with a patch. Ubuntu is already > carrying > this feature. You might like to consider adding it to a future point > release > if it qualifies, or a future feature release if it does not. > > Please maintain the Cc on any followup correspondence to keep our BTS > in the > loop. > > regards > > Andrew > > ----- Forwarded message from Martin Pitt <martin.pitt@ubuntu.com> > ----- > > From: Martin Pitt <martin.pitt@ubuntu.com> > To: Debian BTS Submit <submit@bugs.debian.org> > Subject: Bug#486520: dhcp3-client: Call dhclient-script FAIL in > single-shot mode > Date: Mon, 16 Jun 2008 17:58:40 +0200 > User-Agent: Mutt/1.5.17+20080114 (2008-01-14) > > Package: dhcp3-client > Version: 3.1.1-1 > Tags: patch > User: ubuntu-devel@lists.ubuntu.com > Usertags: origin-ubuntu ubuntu-patch intrepid > > When "dhclient -1" fails to get an address, it does not call > dhclient-script FAIL as it does without -1. This breaks e. g. the > avahi-autoipd invocation in this mode (which dhcdbd uses by default). > > Attached patch was applied in Ubuntu a while ago, and it fixes the > bug. Now avahi-autoipd assigns an IPv4LL address for timed out DHCP > requests correctly. > > Thanks, > > Martin
From: "Martin Pitt" <martin.pitt@ubuntu.com>
CC: 486535@bugs.debian.org
Date: Wed, 21 Jun 2017 22:36:48 +0200
To: "Tomasz Mrugalski via RT" <dhcp-review@isc.org>
Subject: Re: [ISC-Bugs #18183] [martin.pitt@ubuntu.com: Bug#486520: dhcp3-client: Call dhclient-script FAIL in single-shot mode]
Hello Tomasz, Tomasz Mrugalski via RT [2017-06-21 19:14 +0000]: > Thanks for providing the patch. We will include this fix in our upcoming > maintenance release. Great, thanks! > How would you like to be credited for this patch? Does the following look ok to you? > > "Thanks for a patch by Martin Pitt which got to us via Andrew Pollock." Absolutely, don't waste much time on this - I'm glad it finally lands at the proper place :-) (I don't even remember any more what it was about, TBH). Take care, Martin
To: "Martin Pitt via RT" <dhcp-public@isc.org>
Subject: Re: [ISC-Bugs #18183] [martin.pitt@ubuntu.com: Bug#486520: dhcp3-client: Call dhclient-script FAIL in single-shot mode]
Date: Thu, 22 Jun 2017 09:28:09 +1000
From: "Andrew Pollock" <apollock@debian.org>
On Wed, Jun 21, 2017 at 08:36:38PM +0000, Martin Pitt via RT wrote: > Hello Tomasz, > > Tomasz Mrugalski via RT [2017-06-21 19:14 +0000]: > > Thanks for providing the patch. We will include this fix in our upcoming > > maintenance release. > > Great, thanks! > > > How would you like to be credited for this patch? Does the following look ok to you? > > > > "Thanks for a patch by Martin Pitt which got to us via Andrew Pollock." Works for me. > Absolutely, don't waste much time on this - I'm glad it finally lands at the > proper place :-) (I don't even remember any more what it was about, TBH). > > Take care, > > Martin > >

Message body not shown because it is not plain text.