[packagekit] Detecting when we need to restart the session

Richard Hughes hughsient at gmail.com
Tue Oct 14 08:26:55 PDT 2008


On Tue, 2008-10-14 at 16:23 +0200, Stanislav Visnovsky wrote:
> Dňa Tuesday 14 October 2008 15:45:39 Richard Hughes ste napísal:
> > At the moment, a few of the backends send the RequireRestart signal to
> > client applications. The yum backend in particular gets the data from
> > bohdi, and then this data is used to advise the use they will need to
> > restart because of kernel updates and the like. Other backends may just
> > have blacklists, I'm not sure.
> >
> > In the API, there's also the options of a session and application
> > restart. The former means a log out and log in, and the latter means
> > just restarting the application.
> >
> > This probably isn't a backend thing, as if a program binary is modified
> > then we need to restart for the changes to be affected. This depends on
> > the binary actually running.
> 
> Do you mean the backend can still request session restart, so this is 
> additional mechanism?

Yes.

Richard.





More information about the PackageKit mailing list