[Users] no such file or directory

Papp Tamás tompos at martos.bme.hu
Thu Dec 4 06:54:54 EST 2008


Alexander Prinsier wrote:
> You probably mean "statically linked". /bin/ls usually is dynamically
>   
I'm sorry, of course I mean statically linked.
> linked. At least in any standard distro... Statically linked executables
> aren't very common.
>   
Well, you are right, I'm confused.

$ ldd /vz/100/private/bin/ls
        not a dynamic executable
$ ldd /vz/100/private/bin/zsh
        linux-vdso.so.1 =>  (0x00007fff861fd000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fcf7ddd7000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007fcf7dbbe000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00007fcf7d983000)
        libm.so.6 => /lib/libm.so.6 (0x00007fcf7d702000)
        libc.so.6 => /lib/libc.so.6 (0x00007fcf7d3a0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fcf7dfdb000)
$ ldd /bin/ls
        linux-vdso.so.1 =>  (0x00007fff8a1fd000)
        librt.so.1 => /lib/librt.so.1 (0x00007f7a81d83000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x00007f7a81b67000)
        libacl.so.1 => /lib/libacl.so.1 (0x00007f7a81960000)
        libc.so.6 => /lib/libc.so.6 (0x00007f7a815fe000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7a813e2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7a81f8c000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f7a811de000)
        libattr.so.1 => /lib/libattr.so.1 (0x00007f7a80fda000)


> By the way, are you sure the path is correct? Shouldn't it be
> /vz/ROOT/100 instead of /vz/100/ROOT?
>   

Yes, it's more comfortable to me.

BTW, I'm afraid, this (and another one) VE is compromised, ls and other 
executables are replaced. This is not openvz's fault:)

Thank you for your help,

tamas


More information about the Users mailing list