[lxc-users] lxc-attach fails always : failed to enter the namespace
serge.hallyn at ubuntu.com
Fri Apr 4 14:39:40 UTC 2014
Quoting अनुज (anuj01 at gmail.com):
> On Fri, Apr 4, 2014 at 10:24 AM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> > Quoting अनुज (anuj01 at gmail.com):
> >> Hi,
> >> I created one application container using below command:
> >> lxc-execute -n aa -- /bin/bash
> >> Now if I try to attach to this container, I always get below error:
> >> $ lxc-attach -n aa -- ps
> >> lxc_container: No such file or directory - failed to open
> >> '/proc/3174/ns/mnt'
> >> lxc_container: failed to enter the namespace
> >> I have latest kernel:
> > chuckle,
> :-) I meant latest updated kernel for Ubuntu 12.04
Oh good, I was actually assuming you were doing this on android :)
(So, what Gavin said - thanks, Gavin :)
> >> Linux anuj-3000-N100 3.2.0-60-generic-pae #91-Ubuntu SMP Wed Feb 19
> > This kernel is way too old to be able to setns into mounts namespace.
> is this really too old or some compilation flags are missed while
Yes the code was just not there.
More information about the lxc-users