On Tue, 2010-03-23 at 14:28 -0700, Matt Helsley wrote: > On Sun, Mar 21, 2010 at 08:50:44PM +0100, Grzegorz Nosek wrote: > > <snip> > > > 2. Weird strace behaviour across pidns boundary > > > > When strace'ing (with -ff) lxc-start, I get a proper strace for the > > directly spawned process and the container init. However, any processes > > spawned by the container's init are not straced properly (I get two > > empty files, named <foo>.<pid-in-root-ns> and <foo>.2 -- presumably pid > > inside the container). The container also seems to malfunction under > > strace (looks like exec() failing as lxc-ps shows two "init" processes). > > <snip> > > > > 'strace ls' ran completely inside the container works as expected. > > I'm suprised strace of ls works across pid namespaces. I've been looking Matt, Grzegorz is telling you that 'strace -ff lxc-start ls' is broken but 'lxc-start strace -ff ls' works as expected => strace of ls doesn't work across pid namespaces. No surprise. Cheers. -- Gregory Kurz gkurz@xxxxxxxxxx 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. _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers