[PATCH] Update git to v1.8.2.1

Lukas Fleischer cgit at cryptocrack.de
Mon Apr 8 20:25:05 CEST 2013


On Mon, Apr 08, 2013 at 08:16:14PM +0200, Ferry Huberts wrote:
> 
> 
> On 08/04/13 20:12, Ferry Huberts wrote:
> > I'm sorry to report that this patch, commit
> > 849ecd961df9454d6f849eac34e6f501395c4f01, breaks on my CentOS 6.4 servers.
> > 
> > I'm getting an 'Internal Server Error' with entries like the following
> > in the logs, and cgit just dies.
> > 
> >> [Mon Apr 08 20:01:38 2013] [error] [client 192.168.180.8] warning: unable to access '/root/etc/gitconfig': Permission denied, referer: https://git/reposerf/cgit/
> >> [Mon Apr 08 20:01:38 2013] [error] [client 192.168.180.8] warning: unable to access '/root/etc/gitattributes': Permission denied, referer: https://git/reposerf/cgit/
> >>
> >> [Mon Apr 08 20:07:19 2013] [error] [client 192.168.180.8] fatal: unable to access '/root/etc/gitconfig': Permission denied, referer: http://git/reposerf/cgit/
> >> [Mon Apr 08 20:07:19 2013] [error] [client 192.168.180.8] Premature end of script headers: reposerfCgit.cgi, referer: http://git/reposerf/cgit/
> >>
> >> [Mon Apr 08 20:07:28 2013] [error] [client 192.168.180.8] fatal: unable to access '/root/etc/gitconfig': Permission denied, referer: http://git/reposerf/cgit/
> >> [Mon Apr 08 20:07:28 2013] [error] [client 192.168.180.8] Premature end of script headers: reposerfCgit.cgi, referer: http://git/reposerf/cgit/
> > 
> > 
> > 
> > Why are these files suddenly accessed?
> > They weren't before...
> 
> Correction, when reverting back to my previous cgit, I see that these
> files are accessed, but cgit works properly there.

Works fine here.

You should try to run cgit from the command line (setting all
environment variables that are needed) and see if it crashes. If so,
please get a backtrace.

> 
> 
> > 
> > 
> > My build config (cgit.conf) is
> > 
> >> CGIT_SCRIPT_NAME = reposerfCgit.cgi
> >> CGIT_SCRIPT_PATH = /var/www/cgi-bin
> >> CGIT_DATA_PATH = /home/reposerf/cgit/httpd.html
> >> CGIT_CONFIG = /home/reposerf/cgit/cgit.d/cgitrc
> >> CACHE_ROOT = /var/cache/reposerf.cgit
> >> filterdir = /home/reposerf/cgit/cgit.filters
> > 
> [...]




More information about the CGit mailing list