[packagekit] Detecting when we need to restart the session

Stanislav Visnovsky visnov at suse.cz
Tue Oct 14 07:23:32 PDT 2008


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?

Stano



More information about the PackageKit mailing list