From: Luis Gutierrez Date: Tue, 25 Nov 2008 09:29:14 GMT Subject: inted problems when upgrading to 1.6.0.4 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