sd-bus: make sure propagate all errors with vtable callbacks back to clients
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Jun 2017 18:42:28 +0000 (20:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Jun 2017 18:42:28 +0000 (20:42 +0200)
commitf2bfc6ba452d1389b703960969a341c8883c4211
tree8be56c56382a30090c7dcc75259dd639c6ef49be
parentc9fb8c7c4a748a9205629f08d16afbb61d8e875b
sd-bus: make sure propagate all errors with vtable callbacks back to clients

Previously we'd propagate errors returned by user callbacks configured
in vtables back to the users only for method handlers and property
get/set handlers. This does the same for child enumeration and when we
check whether a fallback unit exists.

Without this the failure will be treated as a non-recoverable connection
error and result in connection termination.

Fixes: #6059
src/libsystemd/sd-bus/bus-objects.c