I'm having problems with lxc 0.7.4 on some (if not all, haven't tested it that thoroughly enough) systems. lxc-execute and lxc-start report I/O errors when starting container with /bin/bash and trying to type. When I exit bash the container seems stopped but the process is still running. If I try to lxc-stop the command hangs. I use the same deboostraped system on every machine. <meta http-equiv="content-type" content="text/html; charset=utf-8">Initially I thought the problem was in the ttys not configured correctly (which could still be part of the problem) but the only apparent difference I found is that it works on lxc 0.6.5 but not on 0.7.4. <div>
<br></div><div>On another note, not starting the lxc-execute or lxc-start command would not be such a big deal if the lxc-attach functionality (this is for another project) worked but after installing the tools and kernel Serge provided at <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">ppa:serge-hallyn/lxc-natty it says something like</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-size: 13px; "><div>
lxc-attach: Function not implemented - failed to set namespace 'pid'</div><div>lxc-attach: failed to enter the namespace</div><div><br></div><div>I also compiled the kernel with the patch myself but the error message is the same.</div>
<div>I'm guessing the lxc-execute problem has something to do with lxc-init process since it's started to manage /bin/bash. Maybe there are no ttys associated? The containers work fine if I start them with lxc-start without any commands (standard init is run). The console login works and there are no I/O errors.</div>
</span></span></font></div><meta http-equiv="content-type" content="text/html; charset=utf-8">