bus1 / dbus-broker

Linux D-Bus Message Broker
https://github.com/bus1/dbus-broker/wiki
Apache License 2.0
675 stars 78 forks source link

broker: fix some error-paths to be more verbose #234

Closed dvdhrm closed 4 years ago

dvdhrm commented 4 years ago

A set of 3 error-path fixes. The first two fix dbus-broker from using the default exit-path for audit/selinux initialization failures, and thus properly printing debug messages.

The third fix changes sd_event_loop() to fold the return code. It uses a separate error-domain, so we should always properly fold and participaite in the error-trace.