Open WhyNotHugo opened 4 months ago
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).
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: https://github.com/godbus/dbus/issues/372