문제

I made chroot jail using script make_chroot_jail.sh, then added git by copying /usr/bin/git*, all libraries that these binaries need and /usr/share/git-core now i can init, clone commit, push and so on in jail, but when i type git log it prints nothing( could somebody help me or say where to look for?

도움이 되었습니까?

해결책

When constructing a chroot, try running the commands with strace -f and look for abnormally failing system calls, missing files etc. strace -f <command> 2>&1 |grep ... is your friend.

Needless to say, constructing a chroot with a complex software is not for the faintest of hearts...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top