<div dir="ltr">this happen with fedora as well,<div>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</div>
<div>regards</div><div>ranjib</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 25, 2014 at 12:43 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Quoting Florian Klink (<a href="mailto:flokli@flokli.de">flokli@flokli.de</a>):<br>
><br>
><br>
><br>
> Hi Wojtek,<br>
><br>
> thanks for your answer!<br>
><br>
> I built a kernel with the same config, but with CONFIG_USER_NS set to "y".<br>
><br>
> lxc-checkconfig now also reports user namespace as "enabled".<br>
><br>
><br>
> But when I run lxc-attach, I still see the root file system of the host,<br>
> not of the container...<br>
><br>
> So the problem is not user-ns related.<br>
><br>
> Steps to reproduce:<br>
><br>
> lxc-create -n ${CONTAINER_NAME} -t archlinux<br>
> lxc-start -n ${CONTAINER_NAME}<br>
> lxc-attach -n ${CONTAINER_NAME} /bin/bash<br>
> # ls -la / # shows hosts root file system!<br>
><br>
><br>
> I was also able to reproduce this problem with a downloaded template<br>
> (centos 6 amd64), so it doesn't seem to be archlinux related...<br>
><br>
><br>
> Do you have any ideas how to investigate further?<br>
<br>
</div>Hi - can we get a roll call of which distro/releases this happens on?<br>
<br>
Is it arch, suse, and fedora?<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
</div></div></blockquote></div><br></div>