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

Use the default fallback path for the session bus #385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WhyNotHugo
Copy link
Contributor

This is currently a de-facto standard done by most libraries, and is being amended into the spec itself1.

The previous behaviour (starting a new D-Bus server via dbus-launch) is generally discouraged, since it will start a D-Bus at a non-standard location and other processes have no mechanism via which they can locate the bus socket.

Fixes: #372

This is currently a de-facto standard done by most libraries, and is
being amended into the spec itself[1].

The previous behaviour (starting a new D-Bus server via dbus-launch) is
generally discouraged, since it will start a D-Bus at a non-standard
location and other processes have no mechanism via which they can locate
the bus socket.

[1]: https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/395

Fixes: godbus#372
@guelfey
Copy link
Member

guelfey commented Sep 21, 2024

I'm a bit on the fence here - I can see that dbus-launch is usually not helpful, but generally I find it useful to stick to the official spec - after all, ensuring that different implementations have the same rough behavior is what the spec is for. So I'd say this can be merged as soon as it's adjusted in the spec itself (the MR you linked is not merged yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the default fallback path for the session bus
2 participants