[lxc-devel] [PATCH] [RFC] Complete rewrite of lxc-attach functionality

Christian Seiler christian at iwakd.de
Tue May 21 03:44:14 UTC 2013


Hi Serge,

>>    This is due to user namespaces. The patch introduces a flat
> 
> And pid ns right?  Otherwise the task which did setns would look
> funky inside the container.  iiuc.

Yes, of course.

> I think d).  Create a new attach_struct.h which you #include from both
> lxccontainer.h and attach.h.

Yes, that's also a good idea, I'll do that.

> for patch 5 as well, but I'll wait until you resend (or change your
> patch) to apply.

I'll make the changes, add a bit of magic for signal handling, add an
attach call to struct lxc_container and update the Python and LUA
bindings before I resend these patches.

-- Christian




More information about the lxc-devel mailing list