| Summary: | SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory 716. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aaron <calikidd78> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:a886ac7cf7b17dccfecd12bee87edba9c4e5a4e8f00a776d9ec722b9891151e7 | ||
| Fixed In Version: | selinux-policy-3.12.1-74.2.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-12 01:53:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
commit 623647ec47b7160e47686401ae0679c243c01ac6
Author: Miroslav Grepl <mgrepl>
Date: Fri Sep 6 09:57:35 2013 +0200
Allow firewalld to read NM state
selinux-policy-3.12.1-74.2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.2.fc19 Package selinux-policy-3.12.1-74.2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-74.2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16231/selinux-policy-3.12.1-74.2.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-74.2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I'm so new to linux SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory 716. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python2.7 should be allowed search access on the 716 directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep firewalld /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:firewalld_t:s0 Target Context system_u:system_r:NetworkManager_t:s0 Target Objects 716 [ dir ] Source firewalld Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages python-2.7.5-1.fc19.x86_64 python-2.7.5-4.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-54.fc19.noarch selinux- policy-3.12.1-73.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.5-301.fc19.x86_64 #1 SMP Tue Jun 11 19:39:38 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-09-05 20:53:22 PDT Last Seen 2013-09-05 20:58:43 PDT Local ID 6087627f-1fa6-4ae6-9f42-1966b6603f12 Raw Audit Messages type=AVC msg=audit(1378439923.325:1534): avc: denied { search } for pid=643 comm="firewalld" name="716" dev="proc" ino=20234 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:system_r:NetworkManager_t:s0 tclass=dir type=SYSCALL msg=audit(1378439923.325:1534): arch=x86_64 syscall=open success=no exit=EACCES a0=2b50530 a1=0 a2=1b6 a3=0 items=0 ppid=1 pid=643 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=firewalld exe=/usr/bin/python2.7 subj=system_u:system_r:firewalld_t:s0 key=(null) Hash: firewalld,firewalld_t,NetworkManager_t,dir,search Additional info: reporter: libreport-2.1.6 hashmarkername: setroubleshoot kernel: 3.9.5-301.fc19.x86_64 type: libreport