Re: dhclient hang

2015-12-07 Thread Bob Beck
I think trying again for a different lease is the right thing.. I'm really tired of dhclient exiting for stupid reasons ;) On Mon, Dec 7, 2015 at 3:11 PM, Kenneth Westerback wrote: > I don't understand what you mean by hang? Does it hang the box? I would > expect dhclient to reject the offer and

Re: dhclient hang

2015-12-07 Thread Kenneth Westerback
I don't understand what you mean by hang? Does it hang the box? I would expect dhclient to reject the offer and try again. Does dhclient never try again? I'll take a closer look tomorrow, but if it isn't now it should be easy to fix dhclient to try again for a different lease. Ken On 7 Dec 2

Re: dhclient hang

2015-12-07 Thread Reyk Floeter
On Mon, Dec 07, 2015 at 06:36:06PM +0100, Martin Pieuchot wrote: > On 07/12/15(Mon) 18:43, Reyk Floeter wrote: > > On Mon, Dec 07, 2015 at 06:15:43PM +0100, Martin Pieuchot wrote: > > > On 07/12/15(Mon) 18:17, Reyk Floeter wrote: > > > > On Mon, Dec 07, 2015 at 04:56:56PM +0100, Martin Pieuchot wro

Re: dhclient hang

2015-12-07 Thread Martin Pieuchot
On 07/12/15(Mon) 18:43, Reyk Floeter wrote: > On Mon, Dec 07, 2015 at 06:15:43PM +0100, Martin Pieuchot wrote: > > On 07/12/15(Mon) 18:17, Reyk Floeter wrote: > > > On Mon, Dec 07, 2015 at 04:56:56PM +0100, Martin Pieuchot wrote: > > > > If for some reason SIOCAIFADDR fails, exit instead of hanging

dhclient hang

2015-12-07 Thread Martin Pieuchot
If for some reason SIOCAIFADDR fails, exit instead of hanging. Without this diff I need to kill dhclient(8) with ctrl+C during boot if I happen to have the address offered by the server configured on a different interface. WARNING: do not try to do that on -current without my rt_delete diffs or y