Your message dated Tue, 17 Jun 2008 14:32:39 +1000
with message-id <[EMAIL PROTECTED]>
has caused the   report #486535,
regarding dhcp3-client: Do not remove domain/search values in resolv.conf
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
486535: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486535
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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 <[EMAIL PROTECTED]> -----

From: Martin Pitt <[EMAIL PROTECTED]>
To: Debian BTS Submit <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
##
## 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 -----

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to