Bug 548361 - SELinux is preventing /usr/bin/python "search" access on 1187.
Summary: SELinux is preventing /usr/bin/python "search" access on 1187.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3a0ec8dbbc2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-17 08:12 UTC by edo
Modified: 2010-01-08 20:08 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-66.fc12
Clone Of:
Environment:
Last Closed: 2010-01-05 22:59:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description edo 2009-12-17 08:12:08 UTC
Summary:

SELinux is preventing /usr/bin/python "search" access on 1187.

Detailed Description:

SELinux denied access requested by semanage. It is not expected that this access
is required by semanage 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:semanage_t:s0-s0:c0.c1023
Target Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Objects                1187 [ dir ]
Source                        semanage
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-58.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.8-169.fc12.i686.PAE #1 SMP Mon Dec 14
                              21:38:10 UTC 2009 i686 i686
Alert Count                   3
First Seen                    Št 17. december 2009, 09:08:34 CET
Last Seen                     Št 17. december 2009, 09:09:40 CET
Local ID                      5460bbe7-bc49-4087-9d60-2eccb9a0376c
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261037380.642:28): avc:  denied  { search } for  pid=2472 comm="semanage" name="1187" dev=proc ino=19721 scontext=system_u:system_r:semanage_t:s0-s0:c0.c1023 tcontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=SYSCALL msg=audit(1261037380.642:28): arch=40000003 syscall=5 success=no exit=-13 a0=9a168a0 a1=8000 a2=1b6 a3=9a074a9 items=0 ppid=2445 pid=2472 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="semanage" exe="/usr/bin/python" subj=system_u:system_r:semanage_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-58.fc12,catchall,semanage,semanage_t,abrt_t,dir,search
audit2allow suggests:

#============= semanage_t ==============
allow semanage_t abrt_t:dir search;

Comment 1 Daniel Walsh 2009-12-17 13:25:10 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.6.32-60.fc12.noarch

Comment 2 Fedora Update System 2009-12-22 21:55:04 UTC
selinux-policy-3.6.32-63.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-63.fc12

Comment 3 Fedora Update System 2010-01-04 21:52:19 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 4 Fedora Update System 2010-01-05 22:48:18 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0184

Comment 5 Fedora Update System 2010-01-05 22:56:47 UTC
selinux-policy-3.6.32-63.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-01-08 20:03:02 UTC
selinux-policy-3.6.32-66.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.