Restarting desktop session services on RPM upgrade?

Havoc Pennington hp at redhat.com
Fri Jun 15 15:44:55 UTC 2007


The Mugshot client daemon does this itself by installing a file called 
"version" with the package version, and if said file changes it restarts 
itself.

The version file doesn't have the RPM release in it, but presumably could.

An advantage of this approach is that it doesn't require magic in the 
spec file, though presumably it has downsides too. One downside is that 
the restart can be a bit too early (before the upgrade is complete).

Havoc




More information about the Fedora-desktop-list mailing list