Issues with cgit: projects.list

arti uavarti at gmail.com
Tue Aug 30 23:32:26 CEST 2011


Hi,

no SELinux (or Apparmor)is running.
cgit 8.3.5 shows all repositories, even the ones not listed in the
projects.list. No error message in apache. I would assume it does not
take care about projects.list. But I conclude that apache and the cgi
can access to that directory.

cgit 0.9 came up with another issue:

[Tue Aug 30 23:25:54 2011] [error] [client 192.168.1.2] Error opening
projectsfile /home/git/projects.list : No such file or directory (2)
[Tue Aug 30 23:25:54 2011] [error] [client 192.168.1.2] Premature end of
script headers: cgit.cgi

Regards,

Arti


On 08/30/2011 11:06 PM, Ferry Huberts wrote:
> On 08/30/2011 10:22 PM, arti wrote:
>> Hi Lars,
>>
>> sorry to contact you directly. I've already spend long time in
>> investigation, but could not find a solution.
>> I setup a git server locally following the instructions of the PROGIT
>> book. In addition to that I installed also gitolite as per its author
>> instructions. This part is working fine. This setup was then completed
>> with the cgit installation according your readme.
>>
>> Apache is showing the cgit site correctly, but always tells that there
>> is no repository. Apache error log shows:
>>
>> [Tue Aug 30 21:59:02 2011] [error] [client 192.168.1.2] Error opening
>> projectsfile /home/git/projects.list : No such file or directory (2)
>>
>> The file is present, with the right access rights. I dont see where the
>> issue is. Can you give me a hint?
>>
> check your server logs, it probably mentiones SELinux avc denials
>
>





More information about the CGit mailing list