Red Hat Bugzilla – Bug 159649
Default cvs server configuration does not work with SELinux
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
When the cvs RPM is installed, it creates a default location for the cvs server repository. This repository does not have the proper SELinux credentials for the cvs server to be able to access it.
-rwxr-xr-x root root system_u:object_r:cvs_exec_t /usr/bin/cvs
drwxr-xr-x root root system_u:object_r:var_t /var/cvs
(this is my first time testing pre-release software, so forgive me if I'm not doing this properly).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install cvs rpm
2. Attempt to create files via cvs pserver:
cvs -d:pserver:waynej@localhost:/var/cvs import config xxx yyy
Actual Results: cvs [import aborted]: unrecognized auth response from localhost: cvs pserver: cannot open /var/cvs/CVSROOT/config: Permission denied
It's because you need to add user who has rights to access to the default CVS
repository (/var/cvs) and create apropriate selinux-rights. I think we can't
have a default user who can access to whole repository out-of-the-box...