[lxc-users] lxc-attach fails always : failed to enter the namespace

Serge Hallyn serge.hallyn at ubuntu.com
Fri Apr 4 04:54:29 UTC 2014


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,

> 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.

> 04:14:56 UTC 2014 i686 i686 i386 GNU/Linux
> 
> how can I debug this?

-serge


More information about the lxc-users mailing list