Re: Restarting desktop session services on RPM upgrade?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-06-15 at 12:11 -0400, John Dennis wrote:
> On Fri, 2007-06-15 at 11:58 -0400, Alan Cox wrote:
> > On Fri, Jun 15, 2007 at 11:44:55AM -0400, Havoc Pennington wrote:
> > > 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.
> > 
> > init stats its own binary and librarie (or used to)
> 
> But that exposes you to a race condition as you don't know when all the
> files have been upgraded 

fair enough

> and it requires inefficient periodic polling.

no it doesn't... inotify to the rescue.

-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux