From owner-freebsd-cvsweb@FreeBSD.ORG Fri Dec 17 21:22:24 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C50616A4CE for ; Fri, 17 Dec 2004 21:22:24 +0000 (GMT) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B71A943D54 for ; Fri, 17 Dec 2004 21:22:23 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from cs78134122.pp.htv.fi (cs78134122.pp.htv.fi [62.78.134.122]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 1C8BB7FC72 for ; Fri, 17 Dec 2004 23:22:22 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Date: Fri, 17 Dec 2004 23:22:21 +0200 Message-Id: <1103318541.7746.63.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit Subject: Re: CVSRepositories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 21:22:24 -0000 On Fri, 2004-12-17 at 10:08 -0800, Joe McCarty wrote: > I have installed RANCID and CVSWeb on a Fedora Core 2 box. RANCID is > fully funcitonal--it can log into my devices, get the configs, increment > versions, and email diffs. What's RANCID? > Pointing my browser at http:/foo.org/cgi-bin/cvsweb.cgi, I draw an error > message, "Error: No valid CVS roots found! See @CVSrepositories in the > configuration file (/etc/cvsweb/cvsweb.conf)." > > log/httpd/error_log states, "Root '/home/rancid/var/rancid/CVS' defined in > @CVSrepositories is not a directory, entry ignored at > /var/www/cgi-bin/cvsweb.cgi line 491." [...] > /home/rancid/var/rancid/CVS is indeed a directory, and is the root of the > RANCID CVS tree. Do you happen to have SELinux enabled? If yes, additional clues might be found in /var/log/messages. At least in FC3, CGI scripts have heavy restrictions in what files they can access by default. cvsweb.cgi cannot even access /etc/cvsweb/cvsweb.conf unless explicitly permitted, let alone anything below /home/$something... Is RANCID some kind of a CGI script too? > An evironmental variable "CVSROOT" is define for root, > pointing at this folder. That should not affect the operation of CVSweb in any way. > What is my error, and what is the fix? Dunno yet. Check the SELinux part first.