Bug 637437

Summary: SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "read" access on /home/gene/.gtkrc-2.0.
Product: [Fedora] Fedora Reporter: Gene Snider <genes1122>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, faizanqazi, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:b24c5b77d05c46db32ec269bc7ca334be0095ccb9c58da0df08339ce51870bcc
Fixed In Version: selinux-policy-3.9.5-7.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:13:45 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 Gene Snider 2010-09-25 20:17:26 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "read" access
on /home/gene/.gtkrc-2.0.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe 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:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /home/gene/.gtkrc-2.0 [ file ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-1.9.2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-1.9.2.10-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-3.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.5-32.fc14.x86_64 #1 SMP Fri
                              Sep 24 03:31:28 UTC 2010 x86_64 x86_64
Alert Count                   4
First Seen                    Sat 25 Sep 2010 01:08:27 PM PDT
Last Seen                     Sat 25 Sep 2010 01:15:28 PM PDT
Local ID                      5246b15c-5292-4864-87a7-b1e765f7d7fa
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285445728.536:19797): avc:  denied  { read } for  pid=29366 comm="plugin-containe" name=".gtkrc-2.0" dev=dm-2 ino=42 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1285445728.536:19797): avc:  denied  { open } for  pid=29366 comm="plugin-containe" name=".gtkrc-2.0" dev=dm-2 ino=42 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285445728.536:19797): arch=c000003e syscall=2 success=yes exit=14 a0=7f23f0036be0 a1=0 a2=0 a3=7f23f649ceb0 items=0 ppid=11204 pid=29366 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="plugin-containe" exe="/usr/lib64/xulrunner-1.9.2/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,user_home_t,file,read
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_t:file { read open };

Comment 1 Daniel Walsh 2010-09-26 10:30:28 UTC
Fixed in selinux-policy-3.9.5-6.fc14

Comment 2 Fedora Update System 2010-09-27 14:46:40 UTC
selinux-policy-3.9.5-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-7.fc14

Comment 3 Fedora Update System 2010-09-27 20:08:10 UTC
selinux-policy-3.9.5-7.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.5-7.fc14

Comment 4 Fedora Update System 2010-10-05 13:12:34 UTC
selinux-policy-3.9.5-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.