HomeClusterLabs Projects

Fix: systemd: Directly return an error if the connection to System DBus is…

Description

Fix: systemd: Directly return an error if the connection to System DBus is closed

According to the documentation of dbus_connection_send_with_reply(), if
the connection is disconnected or you try to send Unix file descriptors
on a connection that does not support them, the DBusPendingCall will be
set to NULL. In this case, we can directly return an error instead of
waiting for timeout.

Details

Provenance
gao-yanAuthored on Oct 29 2015, 9:48 AM
Parents
rP7432157b9519: Fix: services: Correctly determine if operations are in-flight
Branches
Unknown
Tags
Unknown

Event Timeline