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

inted problems when upgrading to 1.6.0.4

From
LGLuis Gutierrez <luis.gutierrez@xmos.com>
Date
Nov 25, 2008, 09:29 UTC
Message-ID
<492BC56A.6040506@xmos.com>
Hi All,

At my company we have been using git for the past months, and except for a few people, everyone is happy with it. Last week, we discovered that the mac version of git was misbehaving (v1.5.6.4), but upgrading the client to the latest one (v1.6.0.4) fixed the issue. Fearing consistency issue between version, I decided to update the version of the central repository (ie, the place were people can go and synchronize their code) on a RHEL4 box from 1.5.6.4 to 1.6.0.4. went to my git directory, pulled, checkout v1.6.0.4, and compiled with 'make --prefix=/usr/loca/ all' and installed with the same comamnd. xinted dameon was restarted and then all hell broke loose.

All push/pull/clone operations were failing with the dreaded 'fatal: The remote end hung up unexpectedly'. After a few tests, this is what I found:

- I can clone/pull/push if I do it through ssh (ie, git clone 
ssh://server/project)
- I can clone/pull/push if I start git daemon on the command line through
git daemon --syslog --verbose --export-all 
--base-path=/vol0/git/projects --verbose --reuseaddr
But the way I had setup git, through xinetd is broken.
This is my current xinetd config:
service git
{
    disable      = yes
    socket_type  = stream
    wait         = no
    user         = git
    type         = UNLISTED
    protocol     = tcp
    log_on_failure    += USERID
    port         = 9418
    server       = /usr/local/bin/git
    server_args  = daemon --inetd --syslog --verbose --export-all 
--base-path=/vol0/git/projects --allow-override=uploadpack
}
And I'm getting the following errors:
 > git clone git://romanticism/tutorial tutorial.git
Initialized empty Git repository in /tmp/tutorial.git/.git/
fatal: protocol error: bad line length character
before adding the --allow-override=uploadpack I was getting this:
 > git clone git://romanticism/tutorial tutorial.git
Initialized empty Git repository in /tmp/tutorial.git/.git/
fatal: The remote end hung up unexpectedly

Since the error appeared after the upgrade, it seems likely it is either a but, or something change regarding inte/xinetd, but I can't find any documentation about changes here.

Any help will be appreciated.
Luis Gutierrez
Next: Johannes Sixt
Message 1 of 8 in “inted problems when upgrading to 1.6.0.4”
  1. Luis GutierrezNov 25, 2008
  2. Johannes SixtNov 25, 2008
  3. ArafangionNov 25, 2008
  4. Brian FosterNov 25, 2008
  5. Johannes SixtNov 25, 2008
  6. ArafangionNov 25, 2008
  7. Luis GutierrezNov 25, 2008
  8. ArafangionNov 25, 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.