Bug 1401367 - SELinux is preventing plugin-containe from 'sendto' accesses on the unix_dgram_socket 006E7669646961366533363837346500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.
Summary: SELinux is preventing plugin-containe from 'sendto' accesses on the unix_dgra...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8667187a7d131049df99e017318...
: 1444647 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 03:36 UTC by Justin W. Flory (he/him)
Modified: 2017-04-23 15:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-06 16:51:12 UTC
Type: ---


Attachments (Terms of Use)

Description Justin W. Flory (he/him) 2016-12-05 03:36:32 UTC
Description of problem:
SELinux is preventing plugin-containe from 'sendto' accesses on the unix_dgram_socket 006E7669646961366533363837346500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.

*****  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-containe should be allowed sendto access on the 006E7669646961366533363837346500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 unix_dgram_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:
# ausearch -c 'plugin-containe' --raw | audit2allow -M my-plugincontaine
# semodule -X 300 -i my-plugincontaine.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:unconfined_r:xserver_t:s0-s0:c0.c1023
Target Objects                006E7669646961366533363837346500000000000000000000
                              00000000000000000000000000000000000000000000000000
                              0000000000000000000000000000 [ unix_dgram_socket ]
Source                        plugin-containe
Source Path                   plugin-containe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.10-300.fc25.x86_64 #1 SMP Mon
                              Nov 21 18:59:16 UTC 2016 x86_64 x86_64
Alert Count                   41
First Seen                    2016-06-28 23:21:45 EDT
Last Seen                     2016-12-04 22:04:34 EST
Local ID                      a754cea1-d42a-4fee-a545-3614c51f7f8c

Raw Audit Messages
type=AVC msg=audit(1480907074.112:335): avc:  denied  { sendto } for  pid=13270 comm="plugin-containe" path=006E7669646961366533363837346500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:xserver_t:s0-s0:c0.c1023 tclass=unix_dgram_socket permissive=0


Hash: plugin-containe,mozilla_plugin_t,xserver_t,unix_dgram_socket,sendto


Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.10-300.fc25.x86_64
type:           libreport

Potential duplicate: bug 1284397

Comment 1 Lukas Vrabec 2016-12-06 16:51:12 UTC
*****  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 Hercules 2017-04-23 15:22:13 UTC
*** Bug 1444647 has been marked as a duplicate of this bug. ***


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