Re: [Lxc-users] Lxc-attach status update?
Hi Serge, with the patched kernel lxc-attach works fine! Thanks, Christoph On 04/28/2011 08:03 PM, Serge Hallyn wrote: Quoting Christoph Mitasch (cmita...@thomas-krenn.com): Hi Serge, great if you can create packages for Natty. Kernel is built in ppa:serge-hallyn/lxc-natty (https://launchpad.net/~serge-hallyn/+archive/lxc-natty) I've not tested it, but it should be precisely the same as Daniel's. -serge -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Quoting Christoph Mitasch (cmita...@thomas-krenn.com): Hi Serge, great if you can create packages for Natty. Kernel is built in ppa:serge-hallyn/lxc-natty (https://launchpad.net/~serge-hallyn/+archive/lxc-natty) I've not tested it, but it should be precisely the same as Daniel's. -serge -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Quoting Christoph Mitasch (cmita...@thomas-krenn.com): 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? Natty is closed. This patch isn't going into natty. If Daniel resends the patchset, I'll happily post a natty kernel with the patch in a ppa. -serge -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On Wed, 2011-04-27 at 08:47 -0500, Serge Hallyn wrote: Quoting Christoph Mitasch (cmita...@thomas-krenn.com): 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? Natty is closed. This patch isn't going into natty. If Daniel resends the patchset, I'll happily post a natty kernel with the patch in a ppa. -serge I think Daniel is on vacations (spring break in France). The latest patches for setns can be found here AFAIK: http://kernel.ubuntu.com/git?p=dlezcano/ubuntu-natty.git/.git -- Gregory Kurz gk...@fr.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 Anarchy is about taking complete responsibility for yourself. Alan Moore. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
You can also find the patches here. http://lxc.sourceforge.net/patches/linux/2.6.38/ On Wed, Apr 27, 2011 at 10:26, Greg Kurz gk...@fr.ibm.com wrote: On Wed, 2011-04-27 at 08:47 -0500, Serge Hallyn wrote: Quoting Christoph Mitasch (cmita...@thomas-krenn.com): 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? Natty is closed. This patch isn't going into natty. If Daniel resends the patchset, I'll happily post a natty kernel with the patch in a ppa. -serge I think Daniel is on vacations (spring break in France). The latest patches for setns can be found here AFAIK: http://kernel.ubuntu.com/git?p=dlezcano/ubuntu-natty.git/.git -- Gregory Kurz gk...@fr.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 Anarchy is about taking complete responsibility for yourself. Alan Moore. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Quoting Greg Kurz (gk...@fr.ibm.com): On Wed, 2011-04-27 at 08:47 -0500, Serge Hallyn wrote: Quoting Christoph Mitasch (cmita...@thomas-krenn.com): 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? Natty is closed. This patch isn't going into natty. If Daniel resends the patchset, I'll happily post a natty kernel with the patch in a ppa. -serge I think Daniel is on vacations (spring break in France). The latest patches for setns can be found here AFAIK: http://kernel.ubuntu.com/git?p=dlezcano/ubuntu-natty.git/.git Thanks, Greg, I'll create a package based on that and put it into my lxc-natty ppa. -serge -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On Wed 2011-04-27 (22:16), Christoph Mitasch wrote: BTW, is there another reliable way to initiate a clean shutdown of a container running Natty from the Host system except using lxc-attach or ssh to the container? I have written a simple daemon who runs inside the (ubuntu) container and to which I can communicate with also simple script. It looks like: root@zoo:~# lxc -h usage: lxc options container options: -n create new container -b boot container -c container console -x execute command in container -s shutdown container -l list root@zoo:~# lxc -b flupp root@zoo:~# lxc -l container size (MB) start-PID egal 606 0 flupp6062455 root@zoo:~# uname -a Linux zoo 2.6.39-020639rc3-generic #201104120912 SMP Tue Apr 12 09:16:19 UTC 2011 x86_64 GNU/Linux root@zoo:~# lxc -x flupp uname -a Linux flupp 2.6.39-020639rc3-generic #201104120912 SMP Tue Apr 12 09:16:19 UTC 2011 x86_64 GNU/Linux root@zoo:~# lxc -x shutdown -h now -- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlac...@rus.uni-stuttgart.de Universitaet Stuttgart Tel:++49-711-685-65868 Allmandring 30 Fax:++49-711-682357 70550 Stuttgart (Germany) WWW:http://www.rus.uni-stuttgart.de/ -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On 03/31/2011 12:04 PM, Goran Cetusic wrote: 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. I was going to do it but please do, btw, -- is not documented in lxc-execute.1 C. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On 03/29/2011 03:15 AM, Sebastien Pahl wrote: Here is the 2.6.38.2 version. Uploaded at http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.2-lxc1/ Thanks Sebastian. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On 03/29/2011 01:49 AM, Sebastien Pahl wrote: Here is a version of the patchset rebased on top of 2.6.38.1. I just had to fix a few conflicts. Nothing serious. I can confirm that it works. Uploaded at http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.1-lxc1/ Thanks Daniel for the git repo:-) You are welcome :) Thanks ! -- Daniel -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Great, thanks! :) On Sat, Mar 26, 2011 at 9:17 PM, Daniel Lezcano daniel.lezc...@free.frwrote: On 03/25/2011 02:24 PM, Goran Cetusic wrote: I meant I can't use the ssh workaround. And about the patch, I'll see what I can do but I'm not really and expert for lxc. Then again, i DO need it badly :) I'll see what I can do. Goran, I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Concerning merging upstream, a part related to cleanup was merged but I am still in discussion with the author of the patchset about merging what remains. Thanks -- Daniel -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
2011/3/26 Daniel Lezcano daniel.lezc...@free.fr: I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Umm, I did not find it, could you give a link? Thanks, Kaj -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On 03/28/2011 06:18 PM, Kaj Wiik wrote: 2011/3/26 Daniel Lezcanodaniel.lezc...@free.fr: I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Umm, I did not find it, could you give a link? I did not uploaded it yet :) -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Here is a version of the patchset rebased on top of 2.6.38.1. I just had to fix a few conflicts. Nothing serious. I can confirm that it works. Thanks Daniel for the git repo:-) On Mon, Mar 28, 2011 at 11:37, Daniel Lezcano daniel.lezc...@free.fr wrote: On 03/28/2011 06:18 PM, Kaj Wiik wrote: 2011/3/26 Daniel Lezcanodaniel.lezc...@free.fr: I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Umm, I did not find it, could you give a link? I did not uploaded it yet :) -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud 2.6.38.1-lxc_patches.tar.bz2 Description: BZip2 compressed data -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
I will provide a 2.6.38.2 version soon. On Mon, Mar 28, 2011 at 16:49, Sebastien Pahl s...@dotcloud.com wrote: Here is a version of the patchset rebased on top of 2.6.38.1. I just had to fix a few conflicts. Nothing serious. I can confirm that it works. Thanks Daniel for the git repo:-) On Mon, Mar 28, 2011 at 11:37, Daniel Lezcano daniel.lezc...@free.fr wrote: On 03/28/2011 06:18 PM, Kaj Wiik wrote: 2011/3/26 Daniel Lezcanodaniel.lezc...@free.fr: I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Umm, I did not find it, could you give a link? I did not uploaded it yet :) -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Here is the 2.6.38.2 version. On Mon, Mar 28, 2011 at 16:58, Sebastien Pahl s...@dotcloud.com wrote: I will provide a 2.6.38.2 version soon. On Mon, Mar 28, 2011 at 16:49, Sebastien Pahl s...@dotcloud.com wrote: Here is a version of the patchset rebased on top of 2.6.38.1. I just had to fix a few conflicts. Nothing serious. I can confirm that it works. Thanks Daniel for the git repo:-) On Mon, Mar 28, 2011 at 11:37, Daniel Lezcano daniel.lezc...@free.fr wrote: On 03/28/2011 06:18 PM, Kaj Wiik wrote: 2011/3/26 Daniel Lezcanodaniel.lezc...@free.fr: I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Umm, I did not find it, could you give a link? I did not uploaded it yet :) -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud -- Sebastien Pahl http://www.dotcloud.com @sebp, @dot_cloud 2.6.38.2-lxc_patches.tar.bz2 Description: BZip2 compressed data -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
On 03/25/2011 02:24 PM, Goran Cetusic wrote: I meant I can't use the ssh workaround. And about the patch, I'll see what I can do but I'm not really and expert for lxc. Then again, i DO need it badly :) I'll see what I can do. Goran, I can upload the patchset for the attach on the lxc web website for a 2.6.38, ok ? Concerning merging upstream, a part related to cleanup was merged but I am still in discussion with the author of the patchset about merging what remains. Thanks -- Daniel -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
[Lxc-users] Lxc-attach status update?
I'm trying to replace FreeBSD with Linux on a project. For that I need to replace the BSD jails with Linux containers and a vital component is jexec/lxc-attach. The patch for 2.6.35.8 is working great but there is a bug in that kernel preventing me from doing ANYTHING -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
I'm running hundreds of nodes executing commands at startup. Not really suitable. On Fri, Mar 25, 2011 at 1:34 PM, Serge E. Hallyn serge.hal...@ubuntu.comwrote: Quoting Goran Cetusic (goran.cetu...@gmail.com): I'm trying to replace FreeBSD with Linux on a project. For that I need to replace the BSD jails with Linux containers and a vital component is jexec/lxc-attach. The patch for 2.6.35.8 is working great but there is a bug in that kernel preventing me from doing ANYTHING I think Daniel was saying the kernel patch needs some porting to the latest kernel. Goran, would you be able to produce a patch for the latest kernel and send it to lkml for review? This seems to be a popular feature to get upstream (though I personally don't much care about it :), so I think you'll have the thanks of many if you do. thanks, -serge -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
Quoting Goran Cetusic (goran.cetu...@gmail.com): I'm running hundreds of nodes executing commands at startup. Not really suitable. I don't understand what you mean by that. Does it just mean you don't have time to port the kernel patch and send it to lkml? The answer to your other email, asking when it will be upstream, depends mostly on when someone will need it badly enough that they write it and push it :) -serge -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Lxc-attach status update?
I meant I can't use the ssh workaround. And about the patch, I'll see what I can do but I'm not really and expert for lxc. Then again, i DO need it badly :) I'll see what I can do. On Fri, Mar 25, 2011 at 2:02 PM, Serge E. Hallyn serge.hal...@ubuntu.comwrote: Quoting Goran Cetusic (goran.cetu...@gmail.com): I'm running hundreds of nodes executing commands at startup. Not really suitable. I don't understand what you mean by that. Does it just mean you don't have time to port the kernel patch and send it to lkml? The answer to your other email, asking when it will be upstream, depends mostly on when someone will need it badly enough that they write it and push it :) -serge -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users