| Summary: | /usr/bin/paster cannot work in /var/lib/luci/etc/ because of SELinux | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Milos Malik <mmalik> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dwalsh, ksrot, mgrac, mgrepl |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.7.19-81.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 12:24:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Milos Malik
2011-03-11 12:51:26 UTC
Looks like the policy allows pirana_web_t to manage all files in /var/lib/luci except for files in /var/lib/luci/etc and /var/lib/luci/cert? Should the web interface be allowed to edit those also? Marek, is this something new? Milos, could you add output of # ls -lZR /var/lib/luci @Miroslav: I believe that those AVC does not have anything common with pulse/piranha because they are not installed according to test case mentioned in comment 1 [root@ibm-ls22-05 ~]# ls -lZR /var/lib/luci /var/lib/luci: drwxr-xr-x. luci luci system_u:object_r:piranha_web_data_t:s0 certs drwxr-xr-x. luci luci system_u:object_r:piranha_web_data_t:s0 data drwxr-xr-x. luci luci system_u:object_r:piranha_web_conf_t:s0 etc /var/lib/luci/certs: -rw-------. luci luci unconfined_u:object_r:piranha_web_data_t:s0 host.pem /var/lib/luci/data: -rw-r-----. luci luci unconfined_u:object_r:piranha_web_data_t:s0 luci.db /var/lib/luci/etc: -rw-r--r--. luci luci system_u:object_r:piranha_web_conf_t:s0 cacert.config -rw-r-----. luci luci unconfined_u:object_r:piranha_web_conf_t:s0 luci.ini Ok, I am also seeing this issue and luci.ini is created on the fly during starting luci service. Ryan, is this something new? # rpm -ql luci |grep -E "luci\.ini" /var/lib/luci/etc/luci.ini Fixed in selinux-policy-3.7.19-79.el6 Fixed in selinux-policy-3.7.19-81.el6 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0526.html |