Bug 876990
| Summary: | SELinux is preventing /usr/bin/python2.7 from 'read_policy' accesses on the security /sys/fs/selinux/policy. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miroslav Grepl <mgrepl> | ||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:13e67b0e180f5faf9c7a2976ff2137104de9723e3a77cd8643545bc71fa3b154 | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-11-15 13:39:34 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 645646 [details]
File: type
Created attachment 645647 [details]
File: hashmarkername
This is a test bug. |
Additional info: libreport version: 2.0.18 kernel: 3.6.0-0.rc1.git6.1.fc18.x86_64 description: :SELinux is preventing /usr/bin/python2.7 from 'read_policy' accesses on the security /sys/fs/selinux/policy. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python2.7 should be allowed read_policy access on the policy security 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 sealert /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 :Target Context system_u:object_r:security_t:s0 :Target Objects /sys/fs/selinux/policy [ security ] :Source sealert :Source Path /usr/bin/python2.7 :Port <Unknown> :Host (removed) :Source RPM Packages BDB2053 Freeing read locks for locker 0x11e: : 7861/140655678797760 BDB2053 Freeing read locks : for locker 0x11f: 7861/140655678797760 BDB2053 : Freeing read locks for locker 0x120: : 7861/140655678797760 BDB2053 Freeing read locks : for locker 0x121: 7861/140655678797760 : python-2.7.3-13.fc18.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.11.1-49.fc18.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.6.0-0.rc1.git6.1.fc18.x86_64 #1 : SMP Tue Aug 14 12:13:12 UTC 2012 x86_64 x86_64 :Alert Count 11 :First Seen 2012-11-14 15:06:09 CET :Last Seen 2012-11-15 14:29:00 CET :Local ID 7ea77046-6d80-4f60-9a72-85364d838cc5 : :Raw Audit Messages :type=AVC msg=audit(1352986140.462:4101): avc: denied { read_policy } for pid=7874 comm="sealert" scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=security : : :type=SYSCALL msg=audit(1352986140.462:4101): arch=x86_64 syscall=open success=yes exit=ECHILD a0=186af50 a1=0 a2=1b6 a3=238 items=1 ppid=7871 pid=7874 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sealert exe=/usr/bin/python2.7 subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null) : :type=CWD msg=audit(1352986140.462:4101): cwd=/var/spool/abrt/pyhook-2012-11-15-14:29:00-7855 : :type=PATH msg=audit(1352986140.462:4101): item=0 name=/sys/fs/selinux/policy inode=20 dev=00:0d mode=0100444 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:security_t:s0 : :Hash: sealert,abrt_t,security_t,security,read_policy : :audit2allow : :#============= abrt_t ============== :allow abrt_t security_t:security read_policy; : :audit2allow -R : :#============= abrt_t ============== :allow abrt_t security_t:security read_policy; :