Re: [patch] make NM survice a HAL restart



On Thu, 2005-12-15 at 19:36 +0100, Timo Hoenig wrote:
> On Thu, 2005-12-15 at 13:16 -0500, Robert Love wrote:
> > On Thu, 2005-12-15 at 12:51 -0500, Dan Williams wrote:
> > 
> > > One thing to keep in mind; when HAL starts back up again, what if the
> > > device list is different?  We should eventually have some code to grab
> > > the device list from the restarted HAL, diff it against our internal
> > > list, and add/remove devices that have changed.  ie, HAL dies and in the
> > > interim you remove your PCCard.  Right now we're screwed.
> > 
> > Actually, I think when it comes back, we will refresh the list.
> 
> Hm, but the applet doesn't seem to notice the removal.  I'll investigate
> this.

NM only touches the device list after startup when one of 3 things
happens:

1) Device added
2) Device removed
3) Sleep/wake

We don't currently do anything when hal goes away or comes back.  We do
need to be smarter about this.

Dan





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