Re: Bug: NetworkManagerDispatcher, device removal events



On Thu, 2008-04-10 at 16:13 +0100, Alan Jenkins wrote:
> Dan Williams wrote:
> > On Thu, 2008-04-10 at 08:16 +0100, Alan Jenkins wrote:
> >   
> >> NetworkManagerDispatcher dispatches dbus signals to more traditional
> >> if-up.d style scripts.  Unfortunately it doesn't work when the device is
> >> removed.  It needs to look up the real interface name e.g. eth0, by
> >> calling a method on the dbus device object but the object has already
> >> been deleted by the time NMDispatcher processes the signal.
> >>     
> >
> > Yep; that's fixed in head, I guess it just needs to be backported to the
> > 0.6.x branch.
> >
> > Dan
> >   
> Great.  I guess I should have checked - at least before writing my own 
> fix :-).  I've attached it on the offchance it proves useful.

Yep, looks like the right fix.  Committed, thanks.

Dan

> I checked out head now, though I didn't have the dependancies 
> (lib-nl-1.0pre8) to build it and play with it.  It looked like the 
> dispatcher had changed quite a bit - in particular, it uses a new 
> "nm-client" library.  Is a backport really feasible?  If I could build 
> it, would the dispatcher from svn head be compatible with NM 0.6.x?
> 
> Thanks,
> 
> Alan



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