Bug 929440
| Summary: | SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory net. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Luya Tshimbalanga <luya> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:1d01af94c00184ff1e37123a69e31826f2eea0d7fee836be99c8263781623710 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-01 14:47:18 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: | |||
*** This bug has been marked as a duplicate of bug 946857 *** |
Description of problem: SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory net. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python2.7 should be allowed search access on the net 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:object_r:sysctl_net_t:s0 Target Objects net [ dir ] Source firewalld Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages python-2.7.3-35.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-24.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.0-0.rc3.git0.3.fc19.x86_64 #1 SMP Mon Mar 18 21:39:31 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-30 10:49:58 PDT Last Seen 2013-03-30 10:49:58 PDT Local ID 7f73ab29-3ac0-4a5b-bdd5-c1a8543172cd Raw Audit Messages type=AVC msg=audit(1364665798.21:1206): avc: denied { search } for pid=20116 comm="firewalld" name="net" dev="proc" ino=1522607 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir type=SYSCALL msg=audit(1364665798.21:1206): arch=x86_64 syscall=open success=no exit=EACCES a0=2abd1b0 a1=241 a2=1b6 a3=79732f636f72702f items=0 ppid=1 pid=20116 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,sysctl_net_t,dir,search audit2allow #============= firewalld_t ============== allow firewalld_t sysctl_net_t:dir search; audit2allow -R require { type firewalld_t; } #============= firewalld_t ============== kernel_read_unix_sysctls(firewalld_t) Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc3.git0.3.fc19.x86_64 type: libreport