Re: Location of system socket

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
On Sun, 16 Dec 2018 12:33:24 -0500, Felipe Gasper wrote:

> What is the best way to find the system bus socket’s location if,
> e.g., a custom location is compiled into libdbus?

Thinking about it, the default value hard-coded into libdbus cannot be
changed. Changing it breaks the protocol.

Why? Because not all bus peers on a system have to be using libdbus.
There are other alternative implementations of the D-Bus protocol. In
order for them to interoperate, they all have to agree on what the
protocol is. This includes finding the addresses for connecting to the
D-Bus daemon. Therefore, the default values hard-coded into libdbus
have to be considered part of the D-Bus protocol.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.