Restarting desktop session services on RPM upgrade?

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Fri Jun 15 18:11:24 UTC 2007


On Friday, 15 June 2007 at 19:36, John Dennis wrote:
> 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*.

It did happen at some point in FC6 though. When updating from fresh install
to (then) current updates-released.

Regards,
R.

-- 
Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"




More information about the Fedora-maintainers mailing list