Ticket #55 (closed defect: invalid)

Opened 7 years ago

Last modified 7 years ago

client examples only look at default dbus path

Reported by: cdj15 Owned by: lennart
Milestone: Component: examples
Keywords: dbus configure Cc:

Description

If dbus has been configured to listen to a path other than /var/run/dbus/system_bus_socket, the client example programs (client-browse-services and client-publis-service) will not be able to start up. However, the avahi-daemon does properly handle the not standard configuration.

Change History

Changed 7 years ago by lennart

  • status changed from new to closed
  • resolution set to invalid

The Avahi client libs do not specify any non-default path when connecting to the system bus. Instead it uses the default system DBUS which was specified when compiling DBUS. If it doesn't work for you you have to fix libdbus.

The daemon in contrast does specify the real path of the dbus system daemon due to some special requirements. The DBUS path which can be passed to configure should be set to the same which was used for DBUS compilation.

Note: See TracTickets for help on using tickets.