Skip to content

sd-bus: don't treat requests for non-existent objects as connection errors#6164

Merged
keszybz merged 2 commits intosystemd:masterfrom
poettering:bus-non-existant-object
Jun 23, 2017
Merged

sd-bus: don't treat requests for non-existent objects as connection errors#6164
keszybz merged 2 commits intosystemd:masterfrom
poettering:bus-non-existant-object

Conversation

@poettering
Copy link
Member

A fix for #6059.

…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: systemd#6059
@keszybz keszybz force-pushed the bus-non-existant-object branch from 5b406fa to 00c83b4 Compare June 23, 2017 00:56
@keszybz keszybz changed the title sd-bus: don't treat requests for non-existant objects as connection errors sd-bus: don't treat requests for non-existent objects as connection errors Jun 23, 2017
@keszybz
Copy link
Member

keszybz commented Jun 23, 2017

Repushed with a typo fixed in the commit message.

@keszybz keszybz merged commit 53ec2a3 into systemd:master Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants