2008. 12. 4, csütörtök keltezéssel 12.01-kor Alexander Prinsier ezt írta: > Papp Tamás wrote: > > Dariush Pietrzak wrote: > >>> $ strace -ff /vz/100/root/bin/ls > >>> > >> You're trying to run a binary from inside the VE in HN's context? I't > >> dangerous. > >> And it probably doesn't work because ls is linked to something in VE > >> that > >> doesn't exist on HN (try ldd /bin/ls or ldd /vz/100/root/bin/ls) (which > >> would be surprising, because ls is small program and shouldn't depend on > >> anything exotic). > >> > > /bin/ls is hardlinked, it should not depend on anything. > > You probably mean "statically linked". /bin/ls usually is dynamically > linked. At least in any standard distro... Statically linked executables > aren't very common. > > Anyway, please post the output of ldd /bin/ls and ldd > /vz/100/root/bin/ls to help us help you.
probably the correct way is: vzctl exec 100 'strace -ff /bin/ls' If the strace exists in the container, it must work. Cheers, István -- BSA. Mert megérdemlitek. Open Source. Mert megérdemlem. -- BSA. They value it. Open Source. The value. It. -- http://www.startit.hu http://www.osbusiness.hu _______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users