[lxc-users] DBUS connection from inside container using system dbus

Adithya K linux.challenge1 at gmail.com
Thu Mar 2 10:16:14 UTC 2017


Hi All,

I am usig busybox template to create container on ubuntu. I am creating
container as non privilage. Attached is the config created.

 I am mapping var/run/duns/socket from host to container. Basically I am
using host dbus.

 What I see is when I try to run and dbus program,
dbus_bus_get(DBUS_BUS_SYSTEM, &err); call fails. Basically I am not able to
get dbus bus connection.

 When I create container using privilage mode, then this issue doesn't
exist.

 Any solution for this issue.

Thanks,
Adithya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170302/88b27bc3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 944 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170302/88b27bc3/attachment.obj>


More information about the lxc-users mailing list