Restarting desktop session services on RPM upgrade?

John Dennis jdennis at redhat.com
Fri Jun 15 17:36:45 UTC 2007


On Fri, 2007-06-15 at 19:19 +0200, Nicolas Mailhot wrote:
> Le vendredi 15 juin 2007 à 12:12 -0400, John Dennis a écrit :
> 
> > One has to know to restart the desktop session service only after its
> > files have been upgraded fully, e.g. in %post. Any scheme based on
> > watching other components will expose you to a race condition.
> 
> user starts gnome-terminal
> user launches a yum update
> first gui package reaches the %post stage
> session is restarted
> gnome-term is killed
> yum is killed in the middle of an upgrade
> user system is broken
> user is angry

No, we are not discussing restarting the entire desktop session, that
would be a huge problem. We are talking about restarting specific
session *services*.
-- 
John Dennis <jdennis at redhat.com>




More information about the Fedora-desktop-list mailing list