this happen with fedora as well, i tested with lxc 1.0, (make rpm , with --prefix=/usr, --enable-python), on fedora 20. for me if i ssh into the container, i can see the container rootfs, but if i attach using lxc-attach -n /bin/bash , it shows the host rootfs regards ranjib
On Tue, Feb 25, 2014 at 12:43 PM, Serge Hallyn <[email protected]>wrote: > Quoting Florian Klink ([email protected]): > > > > > > > > Hi Wojtek, > > > > thanks for your answer! > > > > I built a kernel with the same config, but with CONFIG_USER_NS set to > "y". > > > > lxc-checkconfig now also reports user namespace as "enabled". > > > > > > But when I run lxc-attach, I still see the root file system of the host, > > not of the container... > > > > So the problem is not user-ns related. > > > > Steps to reproduce: > > > > lxc-create -n ${CONTAINER_NAME} -t archlinux > > lxc-start -n ${CONTAINER_NAME} > > lxc-attach -n ${CONTAINER_NAME} /bin/bash > > # ls -la / # shows hosts root file system! > > > > > > I was also able to reproduce this problem with a downloaded template > > (centos 6 amd64), so it doesn't seem to be archlinux related... > > > > > > Do you have any ideas how to investigate further? > > Hi - can we get a roll call of which distro/releases this happens on? > > Is it arch, suse, and fedora? > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
