Bug 883143
| Summary: | git-daemon and httpd can't serve the same dir | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | seth vidal <svidal> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3 | CC: | dwalsh, icon, mmalik, tcallawa |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.7.19-185.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 08:32:57 UTC | Type: | Bug |
| 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: | 886216 | ||
|
Description
seth vidal
2012-12-03 21:41:46 UTC
Yes, I see we have
sesearch -A -s httpd_t -t git_system_content_t
Found 3 semantic av rules:
allow httpd_t git_sys_content_t : file { ioctl read getattr lock open } ;
allow httpd_t git_sys_content_t : dir { ioctl read getattr lock search open }
We need to add
read_lnk_files_pattern($1, git_system_content_t, git_system_content_t)
to git_read_generic_system_content_files() interface.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0314.html |