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

RE: git-daemon

From
MEMedve Emilian <emilian.medve@freescale.com>
Date
Nov 20, 2007, 22:04 UTC
Message-ID
<598D5675D34BE349929AF5EDE9B03E27017BCE24@az33exm24.fsl.freescale.net>
In-Reply-To
<20071120182606.GA9646@sigill.intra.peff.net>
Hi Jeff,

I think I found the explanation why v1.5.3.6 works for me (and others apparently) but master and next don't. The fairly recent changes to the PATH handling in exec_cmd.c done by Scott R Parish <srp@srparish.net>, I believe, didn't make it into maint. Adjusting the PATH git-daemon sees is fixing my problem even in master and next.

Thanks for your help and time.

Cheers, Emil.

Show 35 quoted lines
> -----Original Message-----
> From: Jeff King [mailto:peff@peff.net] 
> Sent: Tuesday, November 20, 2007 12:26 PM
> To: Medve Emilian
> Cc: git@vger.kernel.org
> Subject: Re: git-daemon
> 
> On Tue, Nov 20, 2007 at 09:54:13AM -0700, Medve Emilian wrote:
> 
> > I just built and installed the latest master (and next) and 
> then I tried
> > to clone (as I usualy do) one of my repositories. I run 
> git-daemon only
> > with the upload-pack service enabled.
> > [...]
> > 
> > Nov 20 10:17:04 emmedve1-12 git-daemon: [3921] Connection from
> > 10.82.124.104:2978
> > Nov 20 10:17:04 emmedve1-12 git-daemon: [3921] Extended 
> attributes (18
> > bytes) exist <host=server>
> > Nov 20 10:17:04 emmedve1-12 git-daemon: [3921] Request 
> upload-pack for
> > '/srv/scm/linux-2.6.git'
> 
> I don't see anything useful there.  Have you tried running git-daemon
> with --verbose? If that doesn't turn up anything, can you try running
> with GIT_TRACE=1 to see the upload pack command that is being executed
> (and try running it yourself)?
> 
> > Did you try this and is working for you?
> 
> Yes, it works fine (though I ran it under tcpserver, not xinetd).
> 
> -Peff
Previous: Jeff King
Message 7 of 7 in “git-daemon”
  1. Medve EmilianNov 19, 2007
  2. Junio C HamanoNov 19, 2007
  3. Medve EmilianNov 19, 2007
  4. Jeff KingNov 20, 2007
  5. Medve EmilianNov 20, 2007
  6. Jeff KingNov 20, 2007
  7. Medve EmilianNov 20, 2007

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.