[rancid] no CVS directory created for new groups
Charles T. Brooks
Charles.Brooks at hbcs.org
Tue Apr 28 14:05:00 UTC 2020
If you haven't defined CVSROOT then CVS won't know where to create CVS objects, n'est-ce pas?
Until you define it, CVS can't work. Google your error message.
CVSROOT is usually set in a bash profile (or whatever login initialization script is used by your chosen OS.)
Remember, the environment variable has to be set for the process actually running CVS. If you are running CVS from a user login, that's quite likely got different environment configuration than when you're running it out of cron or some other job scheduler.
--Charlie
From: Rancid-discuss <rancid-discuss-bounces at www.shrubbery.net> on behalf of Tim McIntire <Tim.McIntire at infinite.com>
Sent: Tuesday, April 28, 2020 9:45 AM
To: Rancid-discuss at www.shrubbery.net
Subject: [rancid] no CVS directory created for new groups
Hi,
I recently migrated to rancid 3.9. I created 3 groups initially and it is all working fine, but when I added two more, I was not getting any emails for the changes. I tested email to the alias, that is working. Looked through the archives and it appears to be related to not running rancid-cvs after adding the group to rancid.conf. I can run rancid-run and it created the var/GROUP/configs dir and saves the config, but it is not keeping track of differences. When I run
cvs log -bSh router.db
I get
cvs log: No CVSROOT specified! Please use the `-d' option
cvs [log aborted]: or set the CVSROOT environment variable.
I ran
rancid-cvs -V -f /opt/rancid/etc/rancid.conf
but it is still not creating the GROUP in /opt/rancid/var/CVS.
Any suggestions?
Thanks..
Tim
------------------ CONFIDENTIALITY NOTICE ---------------
This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain privileged confidential information
protected by law. Any unauthorized review, use, disclosure or distribution
of this message is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this message.
------------------ CONFIDENTIALITY NOTICE ---------------
More information about the Rancid-discuss
mailing list