Re: [F8] SELinux, Apache and Subversion problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 1, 2008 4:28 PM, Daniel B. Thurman <dant@xxxxxxxxx> 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


Just to be brief a bit. I have two machines with SELinux and
Subversion. One at /var/ww/svn and one at /srv/svn. Both work just
fine.

Looking at the AVCs, seems like the files are improperly labeled. Take
a look and Daniel Walsh's most recent replies to see how to fix this.



-- 
Fedora 7 : sipping some of that moonshine
( www.pembo13.com )

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux