Bug 876990 - SELinux is preventing /usr/bin/python2.7 from 'read_policy' accesses on the security /sys/fs/selinux/policy.
Summary: SELinux is preventing /usr/bin/python2.7 from 'read_policy' accesses on the s...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:13e67b0e180f5faf9c7a2976ff2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-15 13:36 UTC by Miroslav Grepl
Modified: 2012-11-15 13:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-15 13:39:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-15 13:36 UTC, Miroslav Grepl
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-15 13:36 UTC, Miroslav Grepl
no flags Details

Description Miroslav Grepl 2012-11-15 13:36:37 UTC
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;
:

Comment 1 Miroslav Grepl 2012-11-15 13:36:40 UTC
Created attachment 645646 [details]
File: type

Comment 2 Miroslav Grepl 2012-11-15 13:36:42 UTC
Created attachment 645647 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-15 13:39:34 UTC
This is a test bug.


Note You need to log in before you can comment on or make changes to this bug.