Product SiteDocumentation Site

Chapter 18. Concurrent Versioning System

18.1. CVS and SELinux
18.2. Types
18.3. Booleans
18.4. Configuration Examples
18.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 developers.
In Fedora, the cvs package provides CVS. Run the following command to see if the cvs package is installed:
~]$ rpm -q cvs
package cvs is not installed
If it is not installed and you want to use CVS, use the DNF utility as root to install it:
~]# dnf install cvs

18.1. CVS and SELinux

The cvs daemon runs labeled with the cvs_t type. By default in Fedora, CVS is only allowed to read and write certain directories. The label cvs_data_t defines which areas cvs 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.