How to let user defined in a container to access dbus systembus
Srinadh Penugonda
srinadh0 at yahoo.com
Tue Dec 14 18:04:25 UTC 2021
Yes, I did add the mount point for .mk file of the container. My bad, missed mentioning it my previous email.
It wasnt there before but even after adding the mount point, it didnt make any difference in the error that see.
root at sonic:/var/run# ls -Fdbus/ frr/ frrcfgd_client_conn_completed lock/ redis/ redis-chassis/ supervisord.pid supervisor.sock= utmp
root at sonic:/var/run/dbus# ls -altotal 4drwxr-xr-x 2 root root 80 Dec 9 19:02 .drwxr-xr-x 1 root root 4096 Dec 9 19:03 ..srwxrw-rw- 1 root root 0 Dec 9 19:02 histmem.socketsrw-rw-rw- 1 root root 0 Dec 9 19:02 system_bus_socketroot at sonic:/var/run/dbus#
~~ Thanks, Srinadh
On Tuesday, December 14, 2021, 04:08:48 AM PST, Thiago Macieira <thiago at kde.org> wrote:
On Sunday, 12 December 2021 00:32:13 -03 Srinadh Penugonda wrote:
> When these processes trying to use dbus, they are not able to get the dbus
> conn 40 static DBus::Connection conn =
> DBus::Connection::SystemBus();
DId you bind-mount the system bus socket into the identical path inside the
container?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel DPG Cloud Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20211214/efabf482/attachment-0001.htm>
More information about the dbus
mailing list