Bug 883753 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'name_connect' accesses on the tcp_socket .
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'name_connec...
Keywords:
Status: CLOSED DUPLICATE of bug 744319
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c24467607abae4fb572572fa8f6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-05 08:44 UTC by Desktop7.org
Modified: 2012-12-05 09:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-05 09:21:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Desktop7.org 2012-12-05 08:44:53 UTC
Description of problem:
SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'name_connect' accesses on the tcp_socket .

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

If you believe that plugin-container should be allowed name_connect 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:xserver_port_t:s0
Target Objects                 [ tcp_socket ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner/plugin-container
Port                          6001
Host                          (removed)
Source RPM Packages           xulrunner-17.0.1-1.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-59.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.6.7-5.fc18.x86_64 #1 SMP Tue Nov
                              20 19:40:08 UTC 2012 x86_64 x86_64
Alert Count                   1
First Seen                    2012-12-05 16:44:17 UTC
Last Seen                     2012-12-05 16:44:17 UTC
Local ID                      d266ef5d-bb26-4134-b8f1-8e541182784a

Raw Audit Messages
type=AVC msg=audit(1354725857.442:330): avc:  denied  { name_connect } for  pid=4378 comm="plugin-containe" dest=6001 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_port_t:s0 tclass=tcp_socket


type=SYSCALL msg=audit(1354725857.442:330): arch=x86_64 syscall=connect success=no exit=EACCES a0=10 a1=7fdc3e1f1588 a2=10 a3=7fdc30f2d9d0 items=0 ppid=3675 pid=4378 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: plugin-containe,mozilla_plugin_t,xserver_port_t,tcp_socket,name_connect

audit2allow
audit2allow -R

Additional info:
hashmarkername: setroubleshoot
kernel:         3.6.7-5.fc18.x86_64
type:           libreport

Potential duplicate: bug 744319

Comment 1 Miroslav Grepl 2012-12-05 09:21:46 UTC

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


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