Product SiteDocumentation Site

Chapter 8. Concurrent Versioning System

8.1. CVS and SELinux
8.2. Types
8.3. Booleans
8.4. Configuration Examples
8.4.1. Setting up CVS
The Concurrent Versioning System (CVS) is a free revision-control system. It is used to monitor and keep track of modifications to a central set of files which are usually accessed by several different users. It is commonly used by programmers to manage a source code repository and is widely used by open source programmers.
In Red Hat Enterprise Linux, the cvs package provides CVS. Run rpm -q cvs to see if the cvs package is installed. If it is not installed and you want to use CVS, run the following command as the root user to install it:
yum install cvs

8.1. CVS and SELinux

The cvs daemon runs as cvs_t. By default in Red Hat Enterprise Linux, CVS is only allowed to read and write certain directories. The label cvs_data_t defines which areas the cvs daemon has read and write access to. When using CVS with SELinux, assigning the correct label is essential for clients to have full access to the area reserved for CVS data.