Bug 829862 - SELinux is preventing plugin-containe from create access on the file videostats.sxx.
Summary: SELinux is preventing plugin-containe from create access on the file videosta...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-07 17:28 UTC by Juan
Modified: 2012-06-07 18:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-07 18:14:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juan 2012-06-07 17:28:55 UTC
This happens browsing with Firefox 13.

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

If you believe that plugin-containe should be allowed create access on the videostats.sxx 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_home_t:s0
Target Objects                videostats.sxx [ file ]
Source                        plugin-containe
Source Path                   plugin-containe
Port                          <Unknown>
Host                          vortex.usebox.net
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-128.fc17.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     vortex.usebox.net
Platform                      Linux vortex.usebox.net 3.3.7-1.fc17.i686 #1 SMP
                              Mon May 21 22:50:24 UTC 2012 i686 i686
Alert Count                   2
First Seen                    Thu 07 Jun 2012 18:21:58 BST
Last Seen                     Thu 07 Jun 2012 18:23:55 BST
Local ID                      f8da7269-0bba-4781-a7af-38dc0b434edd

Raw Audit Messages
type=AVC msg=audit(1339089835.646:155): avc:  denied  { create } for  pid=9142 comm="plugin-containe" name="videostats.sxx" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file


Hash: plugin-containe,mozilla_plugin_t,user_home_t,file,create

audit2allowunable to open /sys/fs/selinux/policy:  Permission denied


audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied

Comment 1 Juan 2012-06-07 17:39:34 UTC
OK, it happens after playing a video with flash.

I'm using Adobe Flash plugin 11.2 r202 downloaded from Adobe website and installed on ~/.mozilla/plugins.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=829864

Comment 2 Daniel Walsh 2012-06-07 18:14:28 UTC
restorecon -R -v /home

Should clean up the labeling.


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