| Summary: | SELinux is preventing /usr/bin/python from 'open' accesses on the None jockey.log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | sionmnt <sionmnt> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:539758e613a05017795ab3e88ccb6ccddb4ba95e9dc5b04bb5e85222515bf292 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-15 16:12:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Where is jockey-backend installed and *** This bug has been marked as a duplicate of bug 798069 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.3-2.fc16.x86_64 reason: SELinux is preventing /usr/bin/python from 'open' accesses on the None jockey.log. time: Mon 06 Feb 2012 12:38:25 PM AST description: :SELinux is preventing /usr/bin/python from 'open' accesses on the None jockey.log. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python should be allowed open access on the jockey.log <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_log_t:s0 :Target Objects jockey.log [ None ] :Source jockey-backend :Source Path /usr/bin/python :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.2-5.2.fc16.x86_64 :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.2.3-2.fc16.x86_64 #1 SMP Fri Feb 3 : 20:08:08 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen Mon 06 Feb 2012 06:43:55 AM AST :Last Seen Mon 06 Feb 2012 06:44:10 AM AST :Local ID a16ca51a-c164-47ef-95de-fe9452fabdd6 : :Raw Audit Messages :type=AVC msg=audit(1328525050.587:72): avc: denied { open } for pid=1985 comm="jockey-backend" name="jockey.log" dev=dm-1 ino=1715 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_log_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328525050.587:72): arch=c000003e syscall=2 success=yes exit=3 a0=10f5a50 a1=441 a2=1b6 a3=238 items=0 ppid=1984 pid=1985 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_log_t,None,open : :audit2allow : : :audit2allow -R : :