[Lxc-users] Problem with lxc-attach on Linux v3.1.0

Daniel Lezcano daniel.lezcano at free.fr
Thu Sep 8 16:40:04 UTC 2011


On 09/08/2011 06:30 PM, Nikhil Handigol wrote:
> I just tried running lxc-attach with linux-2.6.38. I got the same error as
> with linux-3.0 -- Function not implemented - failed to set namespace 'pid'.
>
> Here's the exact sequence of steps that I followed:
>
> Compiled linux-2.6.38.2 with the corresponding setns patches (
> http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.2-lxc1/).
>
> Rebooted into 2.6.38.2
> $ uname -a
> Linux nf-build2 2.6.38.2-lxc-0.7.4-with-setns #1 SMP Thu Sep 8 08:42:40 PDT
> 2011 x86_64 GNU/Linux
>
> Compiled lxc-0.7.4:
> $ git checkout lxc-0.7.4
> $ ./configure; make; sudo make install

Is it possible you have another lxc version installed on your system ?
For instance, /usr/bin and the one you are compiling is installed in
/usr/local/bin.




More information about the lxc-users mailing list