Location of system socket

Felipe Gasper felipe at felipegasper.com
Sun Dec 16 18:33:05 UTC 2018



> On Dec 16, 2018, at 12:42 PM, Matt Wette <matt.wette at gmail.com> wrote:
> 
>> On 12/16/18 9:33 AM, Felipe Gasper wrote:
>> Hi all,
>> 
>> What is the best way to find the system bus socket’s location if, e.g., a custom location is compiled into libdbus? (Assuming libdbus is not loaded.)
>> 
>> Thank you!
>> 
>> -FG
> not sure the best, but ...
> 
>   $ grep '<listen>' /etc/dbus-1/system.conf
>     <listen>unix:path=/var/run/dbus/system_bus_socket</listen>
That’s assuming that we know the location of the system.conf file. How to discover that?

-FG


More information about the dbus mailing list