[Lxc-users] Lxc-attach status update?

Christoph Mitasch cmitasch at thomas-krenn.com
Wed Apr 27 11:32:57 UTC 2011


Hi,

I would really love to see the patch applied to latest Ubuntu natty
kernel to have "lxc-attach" working again.

Is this on the way?

Thank you,
Christoph

On 04/06/2011 01:47 PM, Daniel Lezcano wrote:
> On 03/31/2011 12:04 PM, Goran Cetusic wrote:
>> I applied the patch to 2.6.38.2 along with the patch for unionfs 2.6.38-rc7.
>> Now I get the old error message
>>
>> root at ct1:/home/cetko# lxc-attach -n i07dc0.n0
>> lxc-attach: Function not implemented - failed to set namespace 'pid'
>> lxc-attach: failed to enter the namespace
>>
>> The lxc patch was applied with "quilt push -a"
>> Unionfs was applied with "gunzip -c unionfs.diff.gz | patch -p1"
>>
>> I checked and all namespaces are enabled in the kernel .config file.
>> The template for the .config file is a ubuntu 2.6.35.8 kernel. The working
>> one with the 2.6.35 lxc patch.
>>
>> I compiled the kernel with "make-kpkg --initrd --append-to-version=-imunes
>> kernel_image kernel_headers". I'm cross compiling on a more powerful machine
>> so it's convenient. Am I missing something? How can I gather more info to
>> debug? Can I help in any way? Lxc is a crucial part of my master's thesis.
>> I noticed there is no man page on Debian for lxc-attach. Since lxc-attach is
>> of great use to me I would like to write it if nobody minds.
> 
> Goran can you check the commit :
> 
>   http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=63e0f402aa028c02d15fc5fa7066b77a45877e83
> 
> fix your problem ?
> 
> Thanks
>    -- Daniel
> 
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users




More information about the lxc-users mailing list