[F8] SELinux, Apache and Subversion problem.

Daniel J Walsh dwalsh at redhat.com
Sat Feb 2 03:31:06 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel B. Thurman wrote:
> It seems that I am having a bit of a problem with SElinux,
> Apache, and Subversion in the way that I have my subversion
> respository located not in the "recommended" place.
> 
> Instead of putting the repository in the recommended place:
> /var/www/svn for example, docs says you can put the repository
> elsewhere by adding SVNParentPath=/my/place/svn entry into the
> /etc/httpd/conf.d/subversion.conf file, but SELinux does not
> like it. I did changed the svn repository directory/files with
> context httpd_sys_context_t and with ownership of apache.apache.
> I also created a link such as /var/www/svn -> /my/svn setting
> SVNParentPath=/var/www/svn - it does not work as well.
> 
> I have tested to see if SELinux is blocking access by setting
>  setenforce 0, then opened up the firefox browser, entered
> my user name and password and it worked, but setting setenforce 1
> back, breaks it again.
> 
> Does anyone know how to do it - beside recommending that I
> place the svn repository directly into /var/www/svn?
> 
> Thanks-
> Dan
> 
What avc messages are you seeing?  /var/log/audit/audit.log
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkej4/kACgkQrlYvE4MpobM/XQCfUM6KBrPSYl0eIQgST40fFmOE
gkMAnRMk+V60i7RQkSANWpjYf3cmQhOX
=qXQd
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list