Bug 630486 - SELinux is preventing /usr/bin/python "search" access on /root/.local.
Summary: SELinux is preventing /usr/bin/python "search" access on /root/.local.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:0d6ef4a7788...
Depends On:
Blocks: 687867
TreeView+ depends on / blocked
 
Reported: 2010-09-05 22:19 UTC by James G. Brown III
Modified: 2014-12-01 23:07 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.3-1.fc14
Clone Of:
Environment:
Last Closed: 2010-09-11 03:42:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James G. Brown III 2010-09-05 22:19:42 UTC
Summary:

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

Detailed Description:

SELinux denied access requested by paster. It is not expected that this access
is required by paster 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:piranha_web_t:s0
Target Context                system_u:object_r:gconf_home_t:s0
Target Objects                /root/.local [ dir ]
Source                        paster
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.4-27.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-51.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.34.6-47.fc13.i686.PAE #1 SMP Fri Aug 27
                              09:29:49 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Wed 01 Sep 2010 06:29:33 PM EDT
Last Seen                     Sun 05 Sep 2010 03:43:38 PM EDT
Local ID                      f9b308c3-14fc-4ff1-af5e-85a5e7fe1d6e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283715818.8:23731): avc:  denied  { search } for  pid=4138 comm="paster" name=".local" dev=dm-0 ino=162007 scontext=unconfined_u:system_r:piranha_web_t:s0 tcontext=system_u:object_r:gconf_home_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1283715818.8:23731): arch=40000003 syscall=195 success=no exit=-2 a0=904d450 a1=bfc5969c a2=4e7ff4 a3=904d450 items=0 ppid=4137 pid=4138 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="paster" exe="/usr/bin/python" subj=unconfined_u:system_r:piranha_web_t:s0 key=(null)



Hash String generated from  catchall,paster,piranha_web_t,gconf_home_t,dir,search
audit2allow suggests:

#============= piranha_web_t ==============
allow piranha_web_t gconf_home_t:dir search;

Comment 1 Miroslav Grepl 2010-09-06 10:57:20 UTC
We will add

optional_policy(`
 gnome_dontaudit_search_config(piranha_web_t)
')

Comment 2 Daniel Walsh 2010-09-07 18:53:13 UTC
Fixed in selinux-policy-3.9.3-1.fc14

Comment 3 Fedora Update System 2010-09-08 18:40:57 UTC
selinux-policy-3.9.3-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 4 Fedora Update System 2010-09-09 04:11:20 UTC
selinux-policy-3.9.3-1.fc14 has been pushed to the Fedora 14 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: https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 5 Fedora Update System 2010-09-11 03:40:24 UTC
selinux-policy-3.9.3-1.fc14 has been pushed to the Fedora 14 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.