On Fri, Aug 14, 2015 at 11:51:46AM +0200, Alessandro DE LAURENZIS wrote:
> This is the content of the /var/www/git directory:

> -r-xr-xr-x   1 root  daemon  884442 Aug 14 10:23 git-http-backend

This is not a static binary. So to use it in chroot you have to copy
shared libraries it needs into chroot as well. Did you already do that?

$ ldd /usr/local/libexec/git/git-http-backend
/usr/local/libexec/git/git-http-backend:
        Start            End              Type Open Ref GrpRef Name
        00000c6778400000 00000c67788e9000 exe  1    0   0      
/usr/local/libexec/git/git-http-backend
        00000c6a29525000 00000c6a2993a000 rlib 0    1   0      
/usr/lib/libz.so.5.0
        00000c6a59762000 00000c6a59c60000 rlib 0    2   0      
/usr/local/lib/libiconv.so.6.0
        00000c69cd452000 00000c69cd85c000 rlib 0    1   0      
/usr/local/lib/libintl.so.6.0
        00000c69aeac4000 00000c69af095000 rlib 0    1   0      
/usr/lib/libcrypto.so.34.0
        00000c6a60818000 00000c6a60c2a000 rlib 0    2   0      
/usr/lib/libpthread.so.19.0
        00000c69c28b9000 00000c69c2d93000 rlib 0    1   0      
/usr/lib/libc.so.80.1
        00000c6a1ad00000 00000c6a1ad00000 rtld 0    1   0      
/usr/libexec/ld.so

Reply via email to