[PATCH] do not call _dbus_warn_check_failed on checks
thiago at kde.org
Tue Nov 14 01:48:32 PST 2006
Havoc Pennington wrote:
>However, you are relying on every app and daemon using dbus to correctly
>handle reconnecting. I consider it very likely that at any given time
>some app or daemon will be buggy in this respect.
I don't think it's reasonable to expect that all applications will support
For one thing, the default behaviour of libdbus-1 is to call exit(3) if
the connection disconnects. So, the reasonable thing is to expect
applications to exit if the bus restarts.
For another, there might be a lot of state kept in the applications that
may or may not be transferred to the new connection. This is especially
true for the unique connection names, which will be restarted. Other
problems also include race conditions when a call comes in just after
restart and the target wasn't yet present, etc.
I filed a bug report at the Mandriva Bugzilla for restarting the system
daemon every time Avahi is upgraded, even if no configuration changed.
The bug report got closed.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061114/5a12e04c/attachment.pgp
More information about the dbus