Bug 676038 - SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'unlink' accesses on the fifo_file 3056-icedteanp-plugin-to-appletviewer.
Summary: SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'unlink' 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:b9fe06d6c5e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-08 17:06 UTC by Henry Rust
Modified: 2011-02-09 11:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-09 11:28:02 UTC
Type: ---


Attachments (Terms of Use)

Description Henry Rust 2011-02-08 17:06:24 UTC
SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'unlink' accesses on the fifo_file 3056-icedteanp-plugin-to-appletviewer.

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

If you believe that plugin-container should be allowed unlink access on the 3056-icedteanp-plugin-to-appletviewer 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-plugin-to-appletviewer [ 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:50:35 PM CET
Last Seen                     Mon 07 Feb 2011 06:50:35 PM CET
Local ID                      67cbe431-16ca-4728-b1c6-c390d1f7f416

Raw Audit Messages
type=AVC msg=audit(1297101035.265:79): avc:  denied  { unlink } for  pid=3056 comm="plugin-containe" name="3056-icedteanp-plugin-to-appletviewer" dev=sda1 ino=4719761 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(1297101035.265:79): arch=x86_64 syscall=unlink success=yes exit=0 a0=7f588dd6cb40 a1=0 a2=7f588def8040 a3=1 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,unlink

audit2allow

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

audit2allow -R

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

Comment 1 Miroslav Grepl 2011-02-09 11:28:02 UTC
Fixed in the next rawhide release.


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