Software
 
Cerca
 
Articoli recenti
Debian Squeeze RAID boot
Bromografo
Java
Ripristino Linux RAID
User-Agent recognition
HTML tooltip
Linux RAID-1 + GRUB

Java packages summary
 
Links
jtech
Download NetBeans!
 
logo unige
logo dist
 
© 2005 texSoft.it


P. IVA 01424860094

CVS FAQ and hints


1. How to setup more than one repository on same CVS server

For each repository a --allow-root option is required in order to make the repository accessible. Otherwise cvs would report an error, saying that the given repository does not exist.

If the system uses xinetd there should be a /etc/xinetd.d/cvspserver file like:

service cvspserver
{
   port        = 2401
   socket_type = stream
   protocol    = tcp
   wait        = no
   user        = root
   passenv     = PATH
   server      = /usr/local/bin/cvs
   server_args = -f --allow-root=/usr/cvsroot --allow-root=/usr/repository2 pserver
}

Otherwise if the old inetd it's used the /etc/inetd.conf file should contain something like:

# CVS pserver (remote acces to your CVS repositories)
# Please read the section on security and passwords in the CVS manual, before you enable this.
cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs -f --allow-root=/server/cvsroot --allow-root=/server/repository2 pserver

If you need multiple CVS repositories, simply add a --allow-root option for each one.