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

Re: Bug: /usr/local/bin/git-daemon starts /usr/sbin/git-upload-pack?

From
BFBrian Foster <brian.foster@innova-card.com>
Date
Jul 10, 2008, 07:32 UTC
Message-ID
<200807100932.06569.brian.foster@innova-card.com>
In-Reply-To
<200807092220.10655.J.Wielemaker@uva.nl>
On Wednesday 09 July 2008 22:20:10 Jan Wielemaker wrote:
Show 6 quoted lines
>[ ... ]
> P.s.	This [ git-daemon using a weird path to exec git-upload-pack
>       was ] quite nasty to debug.  I was forced to to run git-daemon
> 	stand-alone (not xinetd) another port and run strace -f -p <pid>
> 	to discover the	cause of this problem.  Even with --verbose, the
> 	only error response was the client complaining on unexpected EOF.
 Just a hint:  I had some odd exec problems in the past
 (as it happens, also from xinetd and also path-related,
 but not(?) your problem), and found that exporting
    GIT_TRACE=/tmp/LOG-git-daemon
 gave some valuable clews.  I'm unaware of GIT_TRACE
 being documented.  I also concur it's annoying neither
 --syslog nor --verbose seems to cause these sort of
 errors to be logged.
cheers!
	-blf-
-- 
“How many surrealists does it take to   | Brian Foster
 change a lightbulb? Three. One calms   | somewhere in south of France
 the warthog, and two fill the bathtub  |   Stop E$$o (ExxonMobil)!
 with brightly-coloured machine tools.” |      http://www.stopesso.com
Previous: Jan WielemakerNext: Jeff King
Message 4 of 5 in “Bug: /usr/local/bin/git-daemon starts /usr/sbin/git-upload-pack?”
  1. Jan WielemakerJul 9, 2008
  2. Junio C HamanoJul 9, 2008
  3. Jan WielemakerJul 10, 2008
  4. Brian FosterJul 10, 2008
  5. Jeff KingJul 10, 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.