Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logind: switch to sd_bus_track helper #876

Merged
merged 1 commit into from Aug 5, 2015
Merged

Conversation

zonque
Copy link
Member

@zonque zonque commented Aug 5, 2015

Let logind use the sd_bus_track helper object to track the controllers of
sessions. This does not only remove quite some code but also kills the
unconditional matches for all NameOwnerChanged signals.

The latter is something we should never ever do, as it wakes up the daemon
every time a client connects, which doesn't scale.

@poettering
Copy link
Member

Looks good otherwise, but let @dvdhrm review this, too. David?

Let logind use the sd_bus_track helper object to track the controllers of
sessions. This does not only remove quite some code but also kills the
unconditional matches for all NameOwnerChanged signals.

The latter is something we should never ever do, as it wakes up the daemon
every time a client connects, which doesn't scale.
@dvdhrm
Copy link
Contributor

dvdhrm commented Aug 5, 2015

Looks good to me.

poettering added a commit that referenced this pull request Aug 5, 2015
logind: switch to sd_bus_track helper
@poettering poettering merged commit b7cefda into systemd:master Aug 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants