git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* inted problems when upgrading to 1.6.0.4
@ 2008-11-25  9:29 Luis Gutierrez
  2008-11-25 10:14 ` Johannes Sixt
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Luis Gutierrez @ 2008-11-25  9:29 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-25 11:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25  9:29 inted problems when upgrading to 1.6.0.4 Luis Gutierrez
2008-11-25 10:14 ` 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

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).