Bug 640641
Summary: | SELinux is preventing /usr/sbin/certmonger "search" access on /etc/httpd. | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dmitri Pal <dpal> | |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 13 | CC: | dwalsh, mgrepl, mmalik | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | i386 | |||
OS: | Linux | |||
Whiteboard: | setroubleshoot_trace_hash:cf821bd505f809f3e4d5f46044f519e6f965ebb10b406b160e7d351636d194b8 | |||
Fixed In Version: | selinux-policy-3.7.19-65.fc13 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 640642 (view as bug list) | Environment: | ||
Last Closed: | 2010-10-19 07:05:59 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: | 640642 |
Description
Dmitri Pal
2010-10-06 14:31:40 UTC
Are certs stored under /etc/httpd? Miroslav add optional_policy(` apache_search_config(certmonger_t) ') ######################################## ## <summary> ## Allow the specified domain to search ## apache configuration dirs. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`apache_search_config',` gen_require(` type httpd_config_t; ') files_search_etc($1) allow $1 httpd_config_t:dir search_dir_perms; ' Miroslav also add userdom_search_user_home_content(certmonger_t) optional_policy(` bind_search_cache(certmonger_t) ') [root@lenovo httpd]# ls -lR .: total 12 drwxr-xr-x. 2 root root 4096 Oct 6 10:11 alias drwxr-xr-x. 2 root root 4096 Oct 6 10:11 conf drwxr-xr-x. 2 root root 4096 Oct 6 10:11 conf.d lrwxrwxrwx. 1 root root 19 Oct 6 00:50 logs -> ../../var/log/httpd lrwxrwxrwx. 1 root root 27 Oct 6 00:50 modules -> ../../usr/lib/httpd/modules lrwxrwxrwx. 1 root root 19 Oct 6 00:50 run -> ../../var/run/httpd ./alias: total 208 -r--r--r--. 1 root root 1283 Oct 6 10:11 cacert.asc -rw-rw----. 1 root apache 65536 Oct 6 10:11 cert8.db -rw-r-----. 1 root apache 65536 Oct 6 08:28 cert8.db.orig -rw-------. 1 root root 4395 Oct 6 08:28 install.log -rw-rw----. 1 root apache 16384 Oct 6 10:11 key3.db -rw-r-----. 1 root apache 16384 Oct 6 08:28 key3.db.orig lrwxrwxrwx. 1 root root 31 Oct 6 08:28 libnssckbi.so -> ../../..//usr/lib/libnssckbi.so -rw-rw----. 1 root apache 20 Oct 6 10:10 pwdfile.txt -rw-rw----. 1 root apache 16384 Oct 6 10:10 secmod.db -rw-r-----. 1 root apache 16384 Oct 6 08:28 secmod.db.orig ./conf: total 60 -rw-r--r--. 1 root root 33738 Mar 17 2009 httpd.conf -rw-------. 1 apache apache 370 Oct 6 10:11 ipa.keytab -rw-r--r--. 1 root root 12958 Jul 27 11:58 magic -r--------. 1 apache apache 29 Oct 6 10:11 password.conf ./conf.d: total 48 -rw-r--r--. 1 root root 707 Sep 9 2004 auth_kerb.conf -rw-r--r--. 1 root root 3449 Oct 6 10:11 ipa.conf -rw-r--r--. 1 root root 786 Oct 6 10:11 ipa-rewrite.conf -rw-r--r--. 1 root root 118 Jun 26 2007 mod_dnssd.conf -rw-r--r--. 1 root root 8898 Oct 6 10:11 nss.conf -rw-r--r--. 1 root root 566 Dec 5 2005 proxy_ajp.conf -rw-r--r--. 1 root root 1671 Jul 26 2009 python.conf -rw-r--r--. 1 root root 392 Jul 27 11:58 README -rw-r--r--. 1 root root 299 Sep 9 2004 welcome.conf -rw-r--r--. 1 root root 43 Jan 5 2008 wsgi.conf Yes I asked Nalin on IRC and he told me to add it, and we will add other directories where we know the certs can be stored. Fixed in selinux-policy-3.7.19-65.fc13 selinux-policy-3.7.19-65.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-65.fc13 selinux-policy-3.7.19-65.fc13 has been pushed to the Fedora 13 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 selinux-policy'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-65.fc13 selinux-policy-3.7.19-65.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |