[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hotplugging /e/n/i "auto" interfaces

Per Olofsson <pelle@dsv.su.se> wrote:
> On Thu, Apr 08, 2004 at 21:38 +0100, J.D. Hood wrote:
> > The locking that ifupdown does (to serialize running instances) is
> > what guarantees that there will be deadlock whenever "ifup ethx"
> > leads to another "ifup ethx".
> Yes, of course. Sorry. Okay, then this is a problem. Could hotplug
> perhaps check if the interface is being brought up and abort in that
> case?

Hotplug could do that.  Or ifupdown could be modified so it didn't
deadlock if called from itself.

However, until these features are added to hotplug or ifupdown, it
is a bad idea (risks deadlock) to ifup interfaces that hotplug can
also ifup.
Thomas Hood

Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 

Reply to: