<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<br><br>I am playing a little bit with the dbus source code. I see that if I call</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">dbus-send --dest=org.freedesktop.DBus  /org/freedesktop/DBus org.freedesktop.DBus.ListNames</blockquote><div>something calls <i><a href="https://gitlab.freedesktop.org/dbus/dbus/blob/master/bus/services.c#L243">bus_registry_ensure</a></i>, before executing <i><a href="https://gitlab.freedesktop.org/dbus/dbus/blob/master/bus/driver.c#L581">bus_driver_handle_list_services</a></i>. I cannot figure out what is calling <i><a href="https://gitlab.freedesktop.org/dbus/dbus/blob/master/bus/services.c#L243">bus_registry_ensure</a></i><i> </i>and why. <br><br>Using grep this function is just called on `bus_driver_handle_hello` which I am not definitively using and in <i><a href="https://gitlab.freedesktop.org/dbus/dbus/blob/master/bus/services.c#L380">bus_registry_acquire_service</a> </i>which is only called by <i><a href="https://gitlab.freedesktop.org/dbus/dbus/blob/master/bus/driver.c#L767">bus_driver_handle_acquire_service</a> (which is mapped to the <a href="https://gitlab.freedesktop.org/dbus/dbus/blob/master/bus/driver.c#L2465">org.freedesktop.DBus.RequestName</a> method and I am not calling that!)</i><br><br>So why and what is calling <i>bus_registry_ensure</i>?<br><br>Thank you,<br>Fabian Orccon</div></div></div></div></div></div></div></div></div>