Bug 585969

Summary: SELinux blocks the caching operations for RSS feeds in websvn
Product: [Fedora] Fedora EPEL Reporter: Douglas Furlong <bugzilla_rhn>
Component: websvnAssignee: Xavier Bachelot <xavier>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: el5CC: tremble, xavier
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: ActualBug
Fixed In Version: websvn-2.3.1-2.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-14 06:31:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Douglas Furlong 2010-04-26 14:40:51 UTC
Description of problem:
After installing and configuring websvn, the RSS feature fails due to SELinux permissions.

The directory causing issues /var/cache/websvn

I updated the directory to have the same context as mod_proxy (possibly not the most appropriate)

drwxr-xr-x  apache apache system_u:object_r:httpd_cache_t  websvn

Version-Release number of selected component (if applicable):

[root@app7002-svn conf]# rpm -qv websvn
websvn-2.2.1-1.el5
[root@app7002-svn conf]# rpm -qa | grep selinux
libselinux-python-1.33.4-5.5.el5
libselinux-utils-1.33.4-5.5.el5
selinux-policy-2.4.6-255.el5_4.4
selinux-policy-targeted-2.4.6-255.el5_4.4
libselinux-1.33.4-5.5.el5

How reproducible:

100%

Steps to Reproduce:
1. Install websvn
2. Configure all components
3. Attempt to use the RSS feeds in enforcing mode.
  
Actual results:
httpd fails to write to the RSS feeds cache directory /var/cache/websvn and generates an error

Expected results:
An RSS feed is generated and displayed to the user.

Additional info:

Comment 1 Fedora Update System 2010-09-29 20:17:51 UTC
websvn-2.3.1-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/websvn-2.3.1-2.fc13

Comment 2 Fedora Update System 2010-09-29 20:17:57 UTC
websvn-2.3.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/websvn-2.3.1-2.fc14

Comment 3 Fedora Update System 2010-09-29 20:18:03 UTC
websvn-2.3.1-2.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/websvn-2.3.1-2.fc12

Comment 4 Fedora Update System 2010-09-29 20:18:10 UTC
websvn-2.3.1-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/websvn-2.3.1-2.el5

Comment 5 Fedora Update System 2010-09-30 05:31:57 UTC
websvn-2.3.1-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update websvn'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/websvn-2.3.1-2.fc14

Comment 6 Fedora Update System 2010-10-14 06:31:46 UTC
websvn-2.3.1-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-10-14 06:34:45 UTC
websvn-2.3.1-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-10-14 14:09:58 UTC
websvn-2.3.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-10-15 16:56:49 UTC
websvn-2.3.1-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.