Bug 632637

Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "ioctl" access on /dev/snd/pcmC0D0p.
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:ee1d4b5bf7ede125581b4338624b265ff9d14a02f76a44525649814523846d2d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-10 15:54:31 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:48:59 UTC
Summary:

SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "ioctl" access
on /dev/snd/pcmC0D0p.

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                /dev/snd/pcmC0D0p [ 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                   57
First Seen                    fr. 03. sep. 2010 kl. 14.31 +0000
Last Seen                     on. 08. sep. 2010 kl. 21.41 +0000
Local ID                      cc2582b0-7436-42a2-b6b0-d8c80aac63ef
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283974874.676:263): avc:  denied  { ioctl } for  pid=28834 comm="plugin-containe" path="/dev/snd/pcmC0D0p" dev=devtmpfs ino=11833 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(1283974874.676:263): arch=40000003 syscall=54 success=yes exit=0 a0=11 a1=4140 a2=65acdbc a3=b57b45e0 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,ioctl
audit2allow suggests:

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

Comment 1 Daniel Walsh 2010-09-10 15:54:31 UTC

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