DBUS features

Havoc Pennington hp at redhat.com
Thu Jan 27 00:26:39 UTC 2005


On Wed, 2005-01-26 at 16:38 -0700, Trever L. Adams wrote:
> 
> Well, I would like this to be via dbus if possible, since everything
> seems to be using it. However, I don't want a generic list. I want
> programs to know they are critical and to have to acknowledge they are
> still alive (from time to time up2date locks up for example).
> 
> Some sort of emit a message or respond to a check message. Maybe, if
> this is like multicast with dbus... shut down scripts ask "Anyone
> important alive" and the program respond "Sure, my name is up2date, pid
> blah blah blah, doing blah blah blah"
> 
> When no one responds, shutdown continues.
> 
> Sound good or am I foolish?

If a process just exits, then you will know that via dbus (because the
kernel will close the socket and that generates an event)

If it's locked up you'd have to ping it to find out, yes

Havoc





More information about the fedora-devel-list mailing list