On Tue, 29 Sep 2009, Colin Walters wrote:
On Tue, Sep 29, 2009 at 6:51 PM, Bill Nottingham
<notting(a)redhat.com> wrote:
Colin Walters (walters(a)verbum.org) said:
> For system-level services, we have the idea of try-restart on upgrades; if
> > the service is running, we automatically restart it on upgrade.
>
>
> How does that work? Obviously you can't restart packagekitd while
it's in
> the middle of upgrading. Another one you obviously can't just kill and
> restart is libvirtd.
Actually, libvirtd does restart on upgrade. It's implemented in the
init scripts.
But...hm, ok, so all of the state is in the config data/cache, and child qemu processes I
guess. The real point here is
the qemu processes.
> The live replace files on disk part of upgrade is also problematic, and is
> actually the most broken thing relating to updates we have right now. For
> this reason among others I think we should move to installing updates
> immediately before logout/reboot.
Really? I think we're moving more towards a model on mobile devices where
there *is* no logout/reboot except by accident in a large number of cases.
The update system should prompt to start installing updates and automatically do a
logout/reboot as necessary.
And I think what Bill is saying is that a lot of users will not want to
logout. They will want to just restart the app in question, if they are
told which apps are impacted.
I don't expect to have to reboot just b/c of an issue in the sound server.
-sv