Bug 172087
Summary: | (selinux) Webdav problems in enforcing mode in Raw Hide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | jorton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-05 09:25:44 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: | |||
Bug Depends On: | |||
Bug Blocks: | 150221 |
Description
Nicolas Mailhot
2005-10-31 09:22:13 UTC
Dav/Apache problem -> CCing Joe Orton Looks like a policy issue, httpd_t should have read/write/file-creation access to /var/lib/dav/* Yes, that's why I opened an selinux bug, but I thought it would be nice to have you there to confirm apache needs read/write/file-creation access to /var/lib/dav/* AND /srv (and if srv is a no-go where people are supposed to put their dav roots) Joe, Daniel would like to know if Red Hat got a specific policy regarding DAV files in /srv (ie should the default policy allow read/write/file-creation for all /srv, just a subdir in /srv, or none at all). My reading of : http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM is that if you use DAV as a way to share data (not a way to update web sites, but a CIFS/FTP replacement) this data belongs in /srv. If Red Hat does not define a specific part of /srv devoted to DAV use I'd say make all srv accessible to apache in the default policy. OTOH it's certainly cleaner to compartimentize /srv (on my box dav is in /srv/dav). What are your thoughts on the question ? I'd say it would be best to leave /srv labelling entirely to user policy. :( This will force a lot of people to learn selinux instead of being mostly transparent. Are you sure ? To create a DAV repos you already have to create a directory and set up the permissions correctly, it's never been an "it just works" thing. The fact that you have to label it too is just an extra step. It just got a little less "just works" I'll just ask for the lock dir then Fixed in policy version 1.27.2-12 I can confirm -> closing |