CVS Servers

Daniel B. Thurman dant at cdkkt.com
Thu Feb 14 02:23:47 UTC 2008


In one of the Fedora CVS server setup, it says that if the
administrator wants to use a simple pserver remote string
such as:

export CVSROOT=':pserver:<username>@<systemname>:/cvs'

Then one has to:

1) /etc/xinetd.d/cvs:
    server_args             = -f --allow-root=/cvs pserver
2) ln -s /var/cvs /cvs

But the problem here is that SELinux has no context for
the symbolic link /cvs, therefore deny's access.

I tried setting context for /cvs by:
1) chcon -t cvs_data_t

No dice.  Does not work.

To see if I can cvs login bypassing Selinux, I tried:
1) setenforce 0
2) cvs login (successfully)
3) setenforce 1

So, what can I do to get SElinux to authorize the /cvs symbolic link
access to /var/cvs?

Thanks-
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20080213/dc6b6d06/attachment.htm>


More information about the fedora-selinux-list mailing list