On Thu, Mar 02, 2017 at 03:46:10PM +0530, Adithya K wrote: > 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
Sounds like it's just a permission problem, the container will be coming as uid 100000 (or possibly some higher value) which may not be able to access that socket path on the host or which may be rejected by the daemon afterwards. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: PGP signature
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users