[rancid] Re: RANCID and CVSWEB

Todd Heide Todd at equivoice.com
Thu Sep 10 13:23:43 UTC 2009


I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache. 

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm   4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm   4096 Jul 16 15:43 rancid


Thanks
Todd 
Nothing ever goes as planned, Its a hell of a notion, 
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-discuss at shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID.  I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid.  For cvsweb, I am using 3.0.6-4.  In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
       'local'   => ['Local Repository', '/var/cvs'],
        'rancid'  => ['rancid', '/usr/local/rancid/var/CVS/']
#       'freebsd' => ['FreeBSD',          '/var/ncvs'],
#       'openbsd' => ['OpenBSD',          '/var/ncvs'],
#       'netbsd'  => ['NetBSD',           '/var/ncvs'],
#       'ruby'    => ['Ruby',             '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid.  When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo.  If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong?  Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution.  Several
discussions about it on the cvsweb list, but nothing that offered a
solution.  This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list