dbus exit on disconnect and glib

Colin Walters walters at verbum.org
Thu Feb 21 06:59:32 PST 2008


On Thu, Feb 21, 2008 at 8:08 AM, Simon McVittie
<simon.mcvittie at collabora.co.uk> wrote:
>
>  This is Havoc's rationale (which, FWIW, I don't agree with) for making libdbus
>  exit your process on disconnections - if you have written the necessary code
>  to handle disconnections gracefully, then you can safely disable the automatic
>  disconnections.

I thought the rationale was simply that the default DBus connections
to the system/session buses are tied to the lifecycle of the operating
system and desktop login session, respectively.  So unless your
application is very special in some way, it should exit when the
session or system bus gets restarted.

And no OS vendor should be restarting the system or session bus on upgrades.


More information about the dbus mailing list