Bug 632638

Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "write" access on controlC0.
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
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, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:26eec46a63e7444c2fb882333eb719589b9b0433605d814c9d1bc077f1d312f8
Fixed In Version: selinux-policy-3.9.3-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-23 12:46:30 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:08 UTC
Summary:

SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "write" 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                   9
First Seen                    fr. 03. sep. 2010 kl. 14.31 +0000
Last Seen                     on. 08. sep. 2010 kl. 21.39 +0000
Local ID                      0fc2734c-fb2b-4408-b368-186c38b7439b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283974759.808:262): avc:  denied  { write } 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.808:262): arch=40000003 syscall=5 success=yes exit=16 a0=b788788e a1=80002 a2=1e a3=0 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,write
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t sound_device_t:chr_file write;

Comment 1 Daniel Walsh 2010-09-10 15:54:32 UTC
*** Bug 632637 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2010-09-10 15:55:21 UTC
Fixed in selinux-policy-3.9.3-4.fc14

Comment 3 Daniel Walsh 2010-09-10 15:55:42 UTC
*** Bug 632641 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2010-09-10 16:51:31 UTC
selinux-policy-3.9.3-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14

Comment 5 Fedora Update System 2010-09-11 02:19:24 UTC
selinux-policy-3.9.3-4.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-4.fc14

Comment 6 Fedora Update System 2010-09-23 12:43:30 UTC
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.