Bug 508173

Summary: setroubleshoot: SELinux is preventing firefox (sandbox_t) "open" etc_t.
Product: [Fedora] Fedora Reporter: Thomas Liu <tliu>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dwalsh, jkubin, mgrepl, tliu
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:b85cd2d3895bca21b3fcf49d8ec52b3acefd6e75d13f520554e93129ceb5cb70
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-25 21:49:48 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:

Description Thomas Liu 2009-06-25 21:49:01 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing firefox (sandbox_t) "open" etc_t.

Detailed Description:

SELinux denied access requested by firefox. It is not expected that this access
is required by firefox 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) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                unconfined_u:unconfined_r:sandbox_t:s0:c313,c945
Target Context                system_u:object_r:etc_t:s0
Target Objects                /etc/gre.d/gre.conf [ file ]
Source                        firefox
Source Path                   /usr/lib/firefox-3.5b4/firefox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           firefox-3.5-0.20.beta4.fc11
Target RPM Packages           xulrunner-1.9.1-0.20.beta4.fc11
Policy RPM                    selinux-policy-3.6.12-47.fc11
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.29.4-167.fc11.i586 #1 SMP Wed May
                              27 17:14:37 EDT 2009 i686 i686
Alert Count                   2
First Seen                    Thu 25 Jun 2009 03:04:58 PM EDT
Last Seen                     Thu 25 Jun 2009 03:04:58 PM EDT
Local ID                      fc102d85-92f5-42c3-b8b1-b538fb3ec407
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1245956698.473:1399): avc:  denied  { open } for  pid=26488 comm="firefox" name="gre.conf" dev=dm-0 ino=115418 scontext=unconfined_u:unconfined_r:sandbox_t:s0:c313,c945 tcontext=system_u:object_r:etc_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1245956698.473:1399): arch=40000003 syscall=5 success=no exit=-13 a0=bfddbc2c a1=0 a2=1b6 a3=0 items=0 ppid=26470 pid=26488 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 ses=1 comm="firefox" exe="/usr/lib/firefox-3.5b4/firefox" subj=unconfined_u:unconfined_r:sandbox_t:s0:c313,c945 key=(null)


audit2allow suggests:

#============= sandbox_t ==============
allow sandbox_t etc_t:file open;