Re: Bug: /usr/local/bin/git-daemon starts /usr/sbin/git-upload-pack?
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