From: Brian Foster Date: Thu, 10 Jul 2008 07:32:06 GMT Subject: Re: Bug: /usr/local/bin/git-daemon starts /usr/sbin/git-upload-pack? 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: >[ ... ] > 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 > 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