Re: git-daemon breakage in 1.5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Johannes Sixt [6 II 2008 10:40]:
When I run git-daemon with a reduced path similar to this:

   PATH=/bin:/usr/bin /usr/local/bin/git-daemon ...

i.e. git is installed in /usr/local/bin, but it is not in PATH, then I
also get "hung up unexpectedly" from a client that connects to this server.

Which makes me think that you xinetd doesn't pass a PATH to git-daemon
that includes /usr/local/bin. Add this to your /etc/xinetd.d/git:

    env = PATH=/bin:/usr/bin:/usr/local/bin

You can also run "git daemon" passing --exec-path as a git argument. This should help. For instance, I use the following configuration in inetd.conf (SunOS 5.9):

  git   stream   tcp   nowait   gituser   /usr/local/bin/git \
    git --exec-path=/usr/local/bin daemon --inetd \
    --base-path=/export/home/gituser/git /export/home/gituser/git

BR,
/Adam


--
.:.  Adam Piatyszek (ediap)  .:.....................................:.
.:.  ediap@xxxxxxxxxxxxxxxxxxxxx  .:................................:.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux