unsigned fds_count;
const char* header_data;
DBusError error;
+ const char *destination_name = destination;
dbus_uint64_t items_size;
dbus_uint64_t flags = 0;
break;
case DBUSPOLICY_RESULT_DEST_NOT_AVAILABLE:
- reply = reply_with_error (DBUS_ERROR_SERVICE_UNKNOWN, NULL,
- "Cannot send message - destination not known",
- message);
+ _dbus_assert (destination_name != NULL);
+ if (dbus_message_get_auto_start (message))
+ reply = reply_with_error (DBUS_ERROR_SERVICE_UNKNOWN, NULL,
+ "Cannot send message - destination not known",
+ message);
+ else
+ reply = reply_with_error (DBUS_ERROR_NAME_HAS_NO_OWNER, "Name \"%s\" does not exist",
+ destination_name,
+ message);
break;
case DBUSPOLICY_RESULT_KDBUS_ERROR:
%if %{with_systemd}
--enable-systemd \
%endif
+ --enable-kdbus-transport \
+ --enable-libdbuspolicy \
--with-system-pid-file=/tmp/dbus_launch \
--with-console-auth-dir=/var/run/dbus/at_console/ \
--with-systemdsystemunitdir=%{_unitdir} \