https://bugs.winehq.org/show_bug.cgi?id=52568
--- Comment #6 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 73974 --> https://bugs.winehq.org/attachment.cgi?id=73974 testcase from dbus binaries
how to reproduce a working support:
1. download test case 2. unpack test case 7z x dbus-1.15.4-2023-01-31.7z cd dbus-1.15.4-2023-01-31
3. to see that the server binds and listens on the Unix domain socket, execute:
DBUS_VERBOSE=1 wine dbus-daemon.exe --config-file=$PWD/session.conf
Look for lines with "_dbus_server_init_base] Initialized server on address - ....
If you see "unix:..." then Unix domain sockets are used, if you see "tcp:host=..." then Unix domain sockets are not available (This is determined via a call to socket())
4. to see the client connect to the Unix domain socket and exchange data, run:
wine dbus-daemon.exe --config-file=$PWD/session.conf & DBUS_VERBOSE=1 DBUS_SESSION_BUS_ADDRESS= wine dbus-monitor.exe
See for [dbus/dbus-transport.c(206):_dbus_transport_init_base] Initialised transport on address .....
If you see "unix:..." here, then the connection to the server is established via a Unix domain socket.
5. a data exchange is possible when calling DBUS_SESSION_BUS_ADDRESS= wine ./dbus-monitor.exe
can be seen in the output
dbus-daemon[32]: info: [session pid=32 sid=S-1-5-21-0-0-1000] Connection :1.2 (pid=304 comm="" sid="S-1-5-21-0-0-1000") became a monitor. signal time=1675164565.625070 sender=org.freedesktop.DBus -> destination=:1.2 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.2" signal time=1675164565.626518 sender=org.freedesktop.DBus -> destination=:1.2 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost string ":1.2"