[Lxc-users] [lxc-attach error] Failed to open /proc/4468/ns/pid. Failed to enter namespace

Serge Hallyn serge.hallyn at canonical.com
Mon Oct 15 16:25:07 UTC 2012


Quoting Frank Scholten (frank at frankscholten.nl):
> Hi all,
> 
> I am trying to run commands inside the container.
> 
> Running lxc 0.7.5.1, commit 60a742e0afd from sourceforge.
> 
> I created and started an Ubuntu container and when I run
> 
> $ sudo lxc-attach -e -n test whoami
> 
> I get
> 
> 'Failed to open /proc/4468/ns/pid. Failed to enter namespace'
> 
> Any idea what could be wrong?

Your kernel does not support setns for pid.  /proc/$$/ns/pid
does not exist.

-serge




More information about the lxc-users mailing list