I am recently made communication client-server app betweeen two diferent Linux users.
For that, I used system d-bus.
In direcory "/etc/dbus-1/system.d" I made configuration file for system d-bus and put in that directory.
In configuration file I set own two users on one d-bus interface.
After that, communication between two linux users it worked.
The my next step is accomplish a communication client-server app between host (my primarly user) and lxc container (based on ubuntu).
In that case, exists is one file system_bus_socket which is intended for host machine and exists second file system_bus_socket which intended for lxc machine.
My question is:
How to hook up on system_bus_socket (host machine) from lxc container?
I tried to mount dir from host /var/run/dbus to lxc /var/run/dbus, but it didn't work.
I hope that you understand me.
question from:
https://stackoverflow.com/questions/65830186/d-bus-communication-between-lxc-and-host 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…