git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-daemon breakage in 1.5.4

From
Wincent Colaiuta <win@wincent.com>
Date
Feb 6, 2008, 09:44 UTC
Message-ID
<EA30530E-B917-48CA-A43B-FAAF9721A9ED@wincent.com>
In-Reply-To
<7v3as6321y.fsf@gitster.siamese.dyndns.org>
El 6/2/2008, a las 9:46, Junio C Hamano escribió:
Show 10 quoted lines
> Wincent Colaiuta <win@wincent.com> writes:
>
>> This fails with the "remote end hung up unexpectedly" error:
>>
>>   # /usr/local/bin/git-daemon --inetd --base-path=/blah -- /blah
>>
>> Drop the --inetd option and it works with no errors:
>
> Do you mean you run the above from your command line and it
> fails?
Yes.
> I do not think --inetd mode is supposed to work as a daemon that
> accepts connections.  Wouldn't it be talking with a single peer
> via its stdin/stdout?

I don't know exactly what it does under the covers (will look now). Perhaps it detects that its running from an interactive login and modifies its behaviour. But all I can confirm is that in 1.5.3.8 (and before 511707d42b3b3e57d9623493092590546ffeae80) "git daemon" works from the command line both with and without the --inetd option, and in 1.5.4 (from that commit onwards) "git daemon" doesn't work for me with the --inetd option but it does without it. The testing from the command line is really only a diagnostic thing (perhaps misguided), but it does exhibit the same behaviour as issuing the same command within xinetd.

Cheers,
>
Wincent
Previous: Junio C HamanoNext: Johannes Sixt
Message 7 of 13 in “git-daemon breakage in 1.5.4”
  1. Wincent ColaiutaFeb 5, 2008
  2. Scott ParishFeb 5, 2008
  3. Wincent ColaiutaFeb 5, 2008
  4. Junio C HamanoFeb 5, 2008
  5. Wincent ColaiutaFeb 6, 2008
  6. Junio C HamanoFeb 6, 2008
  7. Wincent ColaiutaFeb 6, 2008
  8. Johannes SixtFeb 6, 2008
  9. Wincent ColaiutaFeb 6, 2008
  10. Johannes SixtFeb 6, 2008
  11. Wincent ColaiutaFeb 6, 2008
  12. Johannes SixtFeb 6, 2008
  13. Adam PiatyszekFeb 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.