'/pub/git/u-boot.git': not in whitelist. Please help!
At git public repository server, I started git-daemon
sudo git-daemon git-daemon -verbose --inetd --export-all --base-path=/pub/git &
grep 9418 /etc/services
git 9418/tcp # Git Version Control System
At my private machine:
git pull git://svdcgit01.amcc.com/pub/git/u-boot.git
fatal: The remote end hung up unexpectedly
At the git public repository server, I got:
'/pub/git/u-boot.git': not in whitelist
ls /pub/git/u-boot.git
branches/ config description HEAD hooks/ info/ objects/ refs/
What I did wrong? Please help.
Quoted 3 lines · Gary Yang
At git public repository server, I started git-daemon
sudo git-daemon git-daemon -verbose --inetd --export-all --base-path=/pub/git &
Did you mean
$ sudo git daemon --verbose --inetd --export-all --base-path=/pub/git &
(Notice the duplicated 'git-daemon' in your command.)
Quoted 9 lines
grep 9418
/etc/services
git 9418/tcp # Git Version Control SystemAt my private machine:
git pullgit://svdcgit01.amcc.com/pub/git/u-boot.git
fatal: The remote end hung up unexpectedlyAt the git public repository server, I got:
'/pub/git/u-boot.git': not in whitelist
They way in which you invoked git-daemon said that the following directories are white-listed:
git-daemon
-verbose
--inetd
--export-all
--base-path=/pub/git
Nowhere in this list is /pub/git/u-boot.git.
;)
-- Hannes