Bug 549497 - SELinux is preventing /usr/bin/python "read" access on /var/run/abrt.pid.
Summary: SELinux is preventing /usr/bin/python "read" access on /var/run/abrt.pid.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 12
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c4f0799e6da...
: 547326 548337 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-21 20:30 UTC by Christopher Beland
Modified: 2013-03-03 22:59 UTC (History)
16 users (show)

Fixed In Version: 1.0.3-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-07 00:59:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christopher Beland 2009-12-21 20:30:49 UTC
Summary:

SELinux is preventing /usr/bin/python "read" access on /var/run/abrt.pid.

Detailed Description:

SELinux denied access requested by sealert. It is not expected that this access
is required by sealert and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.
                              c1023
Target Context                system_u:object_r:abrt_var_run_t:s0
Target Objects                /var/run/abrt.pid [ file ]
Source                        SetroubleshootF
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.2-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.i686
                              #1 SMP Wed Dec 9 11:14:59 EST 2009 i686 i686
Alert Count                   2
First Seen                    Mon 21 Dec 2009 03:29:11 PM EST
Last Seen                     Mon 21 Dec 2009 03:29:21 PM EST
Local ID                      beb28ef2-79c9-4e51-ada9-559c391bf88c
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261427361.290:32): avc:  denied  { read } for  pid=1761 comm="sealert" name="abrt.pid" dev=sda1 ino=4013 scontext=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_var_run_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1261427361.290:32): arch=40000003 syscall=5 success=no exit=-13 a0=979b428 a1=8000 a2=1b6 a3=97e1209 items=0 ppid=1760 pid=1761 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/python" subj=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,SetroubleshootF,setroubleshoot_fixit_t,abrt_var_run_t,file,read
audit2allow suggests:
audit2allow is not installed.

Comment 1 Christopher Beland 2009-12-21 20:35:55 UTC
Crash occurred while reviewing SELinux alerts - see Bug 548360

Comment 2 Karel Klíč 2009-12-22 09:56:02 UTC
Fixed in git.

Comment 3 Karel Klíč 2009-12-22 09:57:59 UTC
*** Bug 548337 has been marked as a duplicate of this bug. ***

Comment 4 Karel Klíč 2009-12-22 09:59:28 UTC
*** Bug 547326 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2010-01-05 21:00:28 UTC
abrt-1.0.3-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/abrt-1.0.3-1.fc12

Comment 6 Fedora Update System 2010-01-07 00:59:09 UTC
abrt-1.0.3-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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