git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luis Gutierrez <luis.gutierrez@xmos.com>
To: git@vger.kernel.org
Subject: inted problems when upgrading to 1.6.0.4
Date: Tue, 25 Nov 2008 09:29:14 +0000	[thread overview]
Message-ID: <492BC56A.6040506@xmos.com> (raw)

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

             reply	other threads:[~2008-11-25  9:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25  9:29 Luis Gutierrez [this message]
2008-11-25 10:14 ` inted problems when upgrading to 1.6.0.4 Johannes Sixt
2008-11-25 10:20 ` Arafangion
     [not found]   ` <492BCFA0.5030708@xmos.com>
2008-11-25 10:54     ` Arafangion
2008-11-25 10:54       ` Luis Gutierrez
2008-11-25 11:14         ` Arafangion
2008-11-25 10:36 ` Brian Foster
2008-11-25 11:04 ` Johannes Sixt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492BC56A.6040506@xmos.com \
    --to=luis.gutierrez@xmos.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).