Bug 639136

Summary: SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "open" access on /home/gene/.asoundrc.
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, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:29d2c7e028b8a78f535cebb48ab58b3b0356d2e6070644d00efac63cd9bc10ec
Fixed In Version: selinux-policy-3.9.5-10.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:08:43 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-30 21:56:28 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "open" access
on /home/gene/.asoundrc.

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:alsa_home_t:s0
Target Objects                /home/gene/.asoundrc [ 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-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-34.fc14.x86_64 #1 SMP Mon
                              Sep 27 05:15:59 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Tue 28 Sep 2010 02:09:40 PM PDT
Last Seen                     Thu 30 Sep 2010 02:53:57 PM PDT
Local ID                      cd4d1b3f-792d-43c7-b787-57e9c38de6b2
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285883637.991:20237): avc:  denied  { open } for  pid=3961 comm="plugin-containe" name=".asoundrc" dev=dm-2 ino=116 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:alsa_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285883637.991:20237): arch=c000003e syscall=2 success=yes exit=27 a0=7f92205c4800 a1=0 a2=1b6 a3=0 items=0 ppid=3718 pid=3961 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/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,alsa_home_t,file,open
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t alsa_home_t:file open;

Comment 1 Daniel Walsh 2010-10-01 14:59:48 UTC
Fixed in selinux-policy-3.9.5-9.fc14

Comment 2 Daniel Walsh 2010-10-01 15:00:01 UTC
*** Bug 639135 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2010-10-01 15:00:08 UTC
*** Bug 639137 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2010-10-04 19:36:36 UTC
selinux-policy-3.9.5-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-10.fc14

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