On 11/16/2010 12:41 PM, Goran Cetusic wrote: > After successfully patching the 2.6.35.8 kernel with > http://lxc.sourceforge.net/patches/linux/2.6.35/2.6.35-lxc1/ I finally > managed to attach to a container shell. > Everything seems to be working, except I have no idea how to run a command > with options. > One of the programs I need to run is tcpdump > > lxc-attach -n n0 "/usr/sbin/tcpdump -i eth0" >
Did you try without the quotes ? > Running tcpdump without the options works fine. > But with options I get the following error > > lxc-attach: No such file or directory - failed to exec '/usr/sbin/tcpdump -i > eth0' > > I have no idea if it's the code not supporting options or just me. > Also, are there plans to implement the lxc-attach functionality in the > kernel? > Yep, it's on the way, it should be merged soon. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users