Bug 1084462 - SELinux is preventing /usr/lib64/firefox/plugin-container from 'name_bind' accesses on the tcp_socket .
Summary: SELinux is preventing /usr/lib64/firefox/plugin-container from 'name_bind' ac...
Keywords:
Status: CLOSED DUPLICATE of bug 1110355
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d5dfd02f4eba8a4f6aced6d61b0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-04 12:02 UTC by Andrig Miller
Modified: 2014-06-30 13:22 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-07 07:52:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrig Miller 2014-04-04 12:02:24 UTC
Description of problem:
Joined a Blue Jeans meeting.
SELinux is preventing /usr/lib64/firefox/plugin-container from 'name_bind' accesses on the tcp_socket .

*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If you want to use the plugin package
Then you must turn off SELinux controls on the Firefox plugins.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0

*****  Plugin catchall (1.81 confidence) suggests   **************************

If you believe that plugin-container should be allowed name_bind access on the  tcp_socket 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                system_u:object_r:couchdb_port_t:s0
Target Objects                 [ tcp_socket ]
Source                        plugin-containe
Source Path                   /usr/lib64/firefox/plugin-container
Port                          5984
Host                          (removed)
Source RPM Packages           firefox-28.0-3.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-135.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.7-200.fc20.x86_64 #1 SMP Mon
                              Mar 24 22:01:49 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-04-04 06:00:34 MDT
Last Seen                     2014-04-04 06:00:34 MDT
Local ID                      05c9bcfa-46e9-4a30-879a-8c96603974a1

Raw Audit Messages
type=AVC msg=audit(1396612834.419:365): avc:  denied  { name_bind } for  pid=19681 comm="plugin-containe" src=5984 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:couchdb_port_t:s0 tclass=tcp_socket


type=SYSCALL msg=audit(1396612834.419:365): arch=x86_64 syscall=bind success=no exit=EACCES a0=28 a1=7f665e0c7ea0 a2=10 a3=7f665e0c7edc items=0 ppid=2277 pid=19681 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=plugin-containe exe=/usr/lib64/firefox/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: plugin-containe,mozilla_plugin_t,couchdb_port_t,tcp_socket,name_bind

Additional info:
reporter:       libreport-2.2.0
hashmarkername: setroubleshoot
kernel:         3.13.7-200.fc20.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2014-04-04 14:09:20 UTC
Hi, 

Do you have any troubles with browser or some plugin in browser, or you only saw this alert?


If you have some problems please use this:
*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If you want to use the plugin package
Then you must turn off SELinux controls on the Firefox plugins.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0

Comment 2 Aleksandar Kostadinov 2014-06-30 13:22:12 UTC
It seems a later filed bug should have fixed this. bug 1110355

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


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