Bug 676624 - SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'create' accesses on the fifo_file 3056-icedteanp-appletviewer-to-plugin.
Summary: SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'create' a...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e1d9e734347...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 13:58 UTC by Henry Rust
Modified: 2011-02-10 14:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-10 14:20:41 UTC
Type: ---


Attachments (Terms of Use)

Description Henry Rust 2011-02-10 13:58:53 UTC
SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'create' accesses on the fifo_file 3056-icedteanp-appletviewer-to-plugin.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that plugin-container should be allowed create access on the 3056-icedteanp-appletviewer-to-plugin fifo_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep plugin-containe /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:user_tmp_t:s0
Target Objects                3056-icedteanp-appletviewer-to-plugin [ fifo_file
                              ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-2.0-0.18b10.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.13-9.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.38-0.rc3.git4.1.fc15.x86_64 #1 SMP Sat Feb 5
                              01:59:39 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 07 Feb 2011 06:47:26 PM CET
Last Seen                     Mon 07 Feb 2011 06:47:26 PM CET
Local ID                      856e342b-ed32-4f5c-bf51-07fb158a2263

Raw Audit Messages
type=AVC msg=audit(1297100846.307:68): avc:  denied  { create } for  pid=3056 comm="plugin-containe" name="3056-icedteanp-appletviewer-to-plugin" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=fifo_file


type=SYSCALL msg=audit(1297100846.307:68): arch=x86_64 syscall=mknod success=yes exit=0 a0=7f588dd6cb00 a1=1180 a2=0 a3=7fff05c03a90 items=0 ppid=2136 pid=3056 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-2/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: plugin-containe,mozilla_plugin_t,user_tmp_t,fifo_file,create

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_tmp_t:fifo_file create;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_tmp_t:fifo_file create;

Comment 1 Daniel Walsh 2011-02-10 14:20:41 UTC
Fixed in selinux-policy-3.9.14-3.fc15.src.rpm


Note You need to log in before you can comment on or make changes to this bug.