Bug 1269138

Summary: git-daemon does not allow shallow clone from read-only repository
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: gitAssignee: Petr Stodulka <pstodulk>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: chrisw, jbowes, pstodulk, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1391253 (view as bug list) Environment:
Last Closed: 2016-07-01 09:44:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1391253    

Description David Woodhouse 2015-10-06 12:37:29 UTC
[dwoodhou@i7 tmp]$ git clone --depth 1 git://git.infradead.org/l2-mtd.git
Cloning into 'l2-mtd'...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Oct  6 05:31:59 bombadil git-daemon[8837]: fatal: Unable to create temporary file '/srv/git/l2-mtd.git/shallow_2E9NkF': Permission denied
Oct  6 05:31:59 bombadil xinetd[7097]: EXIT: git status=128 pid=8837 duration=1(sec)


Perhaps relevant:
http://git.661346.n2.nabble.com/PATCH-upload-pack-allow-shallow-fetching-from-a-read-only-repository-td7604326.html

Comment 1 Fedora Admin XMLRPC Client 2016-03-16 18:23:52 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Petr Stodulka 2016-07-01 09:44:25 UTC
Hi David,
it works for me with current git (was rebased since report of the bug), so I am closing this, but feel free to reopen if You reproduce again.