Bug#696671: tpu: isc-dhcp/4.2.2.dfsg.1-5+deb70u3
- To: 696671@bugs.debian.org
- Subject: Bug#696671: tpu: isc-dhcp/4.2.2.dfsg.1-5+deb70u3
- From: Michael Gilbert <mgilbert@debian.org>
- Date: Sat, 16 Feb 2013 16:15:28 -0500
- Message-id: <CANTw=MONkszZHEdEfoHY3rGmNUWWKHMMTqYgxzWgf_8xzG=nVw@mail.gmail.com>
- Reply-to: Michael Gilbert <mgilbert@debian.org>, 696671@bugs.debian.org
- In-reply-to: <CANTw=MPR3PoXqW4M1-KpU87xUgr3EUQVKdCQ+6TejAN2u6xn6g@mail.gmail.com>
- References: <CANTw=MPB5aQFL__8f28DWfv=avtBnyKMVf=m4eBrLYEg+anN-Q@mail.gmail.com> <20121225210146.GY5634@radis.cristau.org> <CANTw=MN9sbcMkj2QX5kjx+GCacytD23DPzHtY42Efrsb4-8eGg@mail.gmail.com> <20130119124658.GA14500@spike.0x539.de> <CANTw=MPR3PoXqW4M1-KpU87xUgr3EUQVKdCQ+6TejAN2u6xn6g@mail.gmail.com>
On Sat, Feb 16, 2013 at 4:02 PM, Michael Gilbert wrote:
> On Sat, Jan 19, 2013 at 7:46 AM, Philipp Kern wrote:
>> So "-1" will fire up dhclient, try to get a lease for a preset amount of
>> time (i.e. querying multiple times) and then fork for continuously
>> renewing the lease or exit with failure code 2?
>
> Actually, the preset amount of time (if you want to call it that) for
> "-1" is instantaneously, and on failure to get a lease it gives up
> right away, rather than wasting the users' time doing multiple
> retries.
Rereading your question, yes by default it has a 60 second timeout and
queries for responses from servers during that time. It will fail
will exit code 2 if it that one attempt fails, rather than retrying.
Best wishes,
Mike
Reply to: