| Summary: | SELinux is preventing /usr/bin/python from 'getattr' accesses on the None /var/cache/jockey/check. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kumar kushal <kmr.kushal> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl, sionmnt |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:0554f8f341a59c416a467afb1e143e2aa928d493620b4fbe54c5eb9ab4570d87 | ||
| Fixed In Version: | selinux-policy-3.10.0-84.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-22 03:36:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Well, a new policy would be needed but jockey-backend is not a part of Fedora. What does jockey-backend do? Shouldn't jockey-backend be running as initrc_t and thus be unconfined? *** Bug 787760 has been marked as a duplicate of this bug. *** I added a new policy for jockey-backend /usr/share/jockey/jockey-backend -- gen_context(system_u:object_r:jockey_exec_t,s0) selinux-policy-3.10.0-84.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-84.fc16 selinux-policy-3.10.0-84.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.5-6.fc16.i686 reason: SELinux is preventing /usr/bin/python from 'getattr' accesses on the None /var/cache/jockey/check. time: Mon Feb 27 18:22:17 2012 description: :SELinux is preventing /usr/bin/python from 'getattr' accesses on the None /var/cache/jockey/check. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python should be allowed getattr access on the check <Unknown> 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 jockey-backend /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 :Target Context system_u:object_r:var_t:s0 :Target Objects /var/cache/jockey/check [ None ] :Source jockey-backend :Source Path /usr/bin/python :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.2-5.2.fc16.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.1.5-6.fc16.i686 #1 SMP Thu Dec 15 : 16:26:31 UTC 2011 i686 i686 :Alert Count 1 :First Seen Mon 27 Feb 2012 06:19:31 PM CST :Last Seen Mon 27 Feb 2012 06:19:31 PM CST :Local ID 33c335dc-387a-4d9f-abff-6babbc36ae64 : :Raw Audit Messages :type=AVC msg=audit(1330388371.337:63): avc: denied { getattr } for pid=1544 comm="jockey-backend" path="/var/cache/jockey/check" dev=dm-1 ino=926491 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1330388371.337:63): arch=40000003 syscall=197 success=yes exit=0 a0=8 a1=bfe45290 a2=4278dff4 a3=b754f860 items=0 ppid=1 pid=1544 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="jockey-backend" exe="/usr/bin/python" subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null) : : :Hash: jockey-backend,system_dbusd_t,var_t,None,getattr : :audit2allow : : :audit2allow -R : :