After successfully patching the 2.6.35.8 kernel with  <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://lxc.sourceforge.net/patches/linux/2.6.35/2.6.35-lxc1/">http://lxc.sourceforge.net/patches/linux/2.6.35/2.6.35-lxc1/</a> I finally managed to attach to a container shell.<div>
Everything seems to be working, except I have no idea how to run a command with options.</div><div>One of the programs I need to run is tcpdump</div><div><br></div><div><div>lxc-attach -n n0 "/usr/sbin/tcpdump -i eth0"</div>
</div><div><br></div><div>Running tcpdump without the options works fine.</div><div>But with options I get the following error</div><div><br></div><div><div>lxc-attach: No such file or directory - failed to exec '/usr/sbin/tcpdump -i eth0'</div>
</div><div><br></div><div>I have no idea if it's the code not supporting options or just me.</div><div>Also, are there plans to implement the lxc-attach functionality in the kernel?</div>