Bug 1138371
| Summary: | SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ken Dubrick <kdubrick> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:52ec60881dbc11b510e856ba8342753d00971cc2271eebb27b3099b6d2198656 | ||
| Fixed In Version: | selinux-policy-3.12.1-197.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-10 00:55:42 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: | |||
Did cups work fine? a1174be0a2b9eca0894d5b4d83593617f70466a6 dontaudits this in git. commit 24133e767eb28631607d6d296be1c72c763e347b
Author: Dan Walsh <dwalsh>
Date: Sat Jan 3 11:14:08 2015 -0500
userdom_dontaudit_search_user_home_content should not search through any homedirs and subdirs
selinux-policy-3.12.1-197.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-197.fc20 Package selinux-policy-3.12.1-197.fc20: * should fix your issue, * was pushed to the Fedora 20 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-197.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1398/selinux-policy-3.12.1-197.fc20 then log in and leave karma (feedback). selinux-policy-3.12.1-197.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Installing HPLIP 3.14.6 SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that python2.7 should be allowed search access on the 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 python /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context system_u:object_r:gconf_home_t:s0 Target Objects [ dir ] Source python Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages python-2.7.5-13.fc20.i686 Target RPM Packages Policy RPM selinux-policy-3.12.1-182.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.15.10-201.fc20.i686 #1 SMP Wed Aug 27 21:33:30 UTC 2014 i686 i686 Alert Count 1 First Seen 2014-09-04 12:18:37 EDT Last Seen 2014-09-04 12:18:37 EDT Local ID 7da04245-5565-4ba4-832a-1f78f4e3f80a Raw Audit Messages type=AVC msg=audit(1409847517.315:1327): avc: denied { search } for pid=25559 comm="python" name=".local" dev="sdb3" ino=3145742 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gconf_home_t:s0 tclass=dir type=SYSCALL msg=audit(1409847517.315:1327): arch=i386 syscall=stat64 success=no exit=EACCES a0=9aaa7c8 a1=bfbf887c a2=4cde3000 a3=41d83520 items=0 ppid=25544 pid=25559 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=python exe=/usr/bin/python2.7 subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: python,cupsd_t,gconf_home_t,dir,search Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-201.fc20.i686 type: libreport