Bug 632641

Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "read" access on controlC0.
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:5a3d0dd0901302c0ff53e0f05fa5362961faa1514acf91b8769d0f98fe578b27
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-10 15:55:42 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 Kjartan Maraas 2010-09-10 15:50:48 UTC
Summary:

SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "read" access on
controlC0.

Detailed Description:

[plugin-containe has a permissive type (mozilla_plugin_t). 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                system_u:object_r:sound_device_t:s0
Target Objects                controlC0 [ chr_file ]
Source                        plugin-containe
Source Path                   /usr/lib/xulrunner-1.9.2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-1.9.2.7-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.i686.PAE #1
                              SMP Fri Aug 27 07:47:26 UTC 2010 i686 i686
Alert Count                   18
First Seen                    fr. 03. sep. 2010 kl. 14.31 +0000
Last Seen                     on. 08. sep. 2010 kl. 21.39 +0000
Local ID                      bc1bf4ee-5b6d-4bde-bf4e-29b5b65e7dd5
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283974759.807:261): avc:  denied  { read } for  pid=28834 comm="plugin-containe" name="controlC0" dev=devtmpfs ino=11837 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1283974759.807:261): avc:  denied  { open } for  pid=28834 comm="plugin-containe" name="controlC0" dev=devtmpfs ino=11837 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file

node=(removed) type=SYSCALL msg=audit(1283974759.807:261): arch=40000003 syscall=5 success=yes exit=16 a0=b7887a1e a1=80000 a2=b789b7e0 a3=b7887a1e items=0 ppid=5443 pid=28834 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm="plugin-containe" exe="/usr/lib/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,sound_device_t,chr_file,read
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t sound_device_t:chr_file { read open };

Comment 1 Daniel Walsh 2010-09-10 15:55:42 UTC

*** This bug has been marked as a duplicate of bug 632638 ***