sd-bus: do not connect to dbus-1 socket when kdbus is available
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 27 Aug 2015 14:43:02 +0000 (16:43 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 27 Aug 2015 14:43:02 +0000 (16:43 +0200)
commit154429127cb400bf010d41d7dd3ba4ec41b9ffb3
tree769936fe9ef9021d941ce3d64d8c849b66a7b7cb
parent057171efc103ac76c60a2a0d277d8bbf25415c21
sd-bus: do not connect to dbus-1 socket when kdbus is available

We should not fall back to dbus-1 and connect to the proxy when kdbus
returns an error that indicates that kdbus is running but just does not
accept new connections because of quota limits or something similar.

Based on a patch by Kay.
src/libsystemd/sd-bus/sd-bus.c