Bug#611765: git-daemon-run: git-daemon doesn't allow pushes even with --enable=receive-pack

February 01st, 2011 - 04:30 pm ET by matteo nunziati | Report spam
Package: git-daemon-run
Version: 1:1.7.2.3-2.2 (squeeze)
Severity: important

I've setted up git-daemon in order to test it.
I've tried both a localhost setup and a remote setup on lan

1) I've modified the run script adding the following switches:
2) I've restarted the daemon with:
sv stop git-daemon && sv start git-daemon
3) I've created a test tree:
cd /var/cache/git && git --bare init test
4) I've cloned it in a user home:
git clone git://localhost/git/test
5) I've made few trivial modifications
(touched a file, git add 'ed it, git commit'ed it)
6) I've pushed it:
git push origin master
7) the following error arisen:
error: unpack failed: unpack-objects abnormal exit

as proof:
1) erased the cloned project
2) repeated all steps by using the local path:
git clone /var/cache/git/test, etc...
no issue arisen and changes have been pushed to master

as second proof:
1) I've created a new project on a remote machine on a lan
2) I've tried to clone, commit and push via git:// and got the same unpack
error
3) erased all
4) mounted the git repo folder via nfs
5) performed all cloning, commit, push operations via the nfs mount
no problem arisen

as third proof:
1) removed the git-daemon-run
2) dowloaded the òatest stable code from upstrime
3) compiled and launched the git-daemon-tool
4) re done the hole stuff
5) no error arisen

conclusion: a bug stops users to push with the provided daemon.





Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-daemon-run depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii git 1:1.7.2.3-2.2 fast, scalable, distributed revisi
pn runit <none> (no description available)

git-daemon-run recommends no packages.

git-daemon-run suggests no packages.



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Jonathan Nieder
February 01st, 2011 - 05:00 pm ET | Report spam
reassign 611765 git
tags 611765 + upstream
quit

Hi matteo,

matteo nunziati wrote:

[git-daemon doesn't allow pushes even with --enable=receive-pack]

Have you tried setting "[daemon] receivepack" in the target
repository's config file?



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics