threads / discuss / 16420

'/pub/git/u-boot.git': not in whitelist. Please help!

Subject: '/pub/git/u-boot.git': not in whitelist. Please help!

## tl;dr

2 messages between Nov 21, 2008 and Nov 21, 2008.

replies: 1people: 2as markdown or json

Gary Yang· Nov 21, 2008, 02:20 UTC · lore
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.
      
Johannes Sixt· Nov 21, 2008, 07:26 UTC · re: Gary Yang · lore

Re: '/pub/git/u-boot.git': not in whitelist. Please help!

Gary Yang schrieb:
> 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.)
Show 9 quoted lines
> 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

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

← back to recent threads