Additional info: libreport version: 2.0.18 kernel: 3.6.9-2.fc17.x86_64 description: :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:sap_port_t:s0 :Target Objects [ tcp_socket ] :Source plugin-containe :Source Path /usr/lib64/xulrunner/plugin-container :Port 9875 :Host (removed) :Source RPM Packages xulrunner-17.0.1-1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.9-2.fc17.x86_64 #1 SMP Tue Dec : 4 13:26:04 UTC 2012 x86_64 x86_64 :Alert Count 3 :First Seen 2012-12-10 19:19:13 EET :Last Seen 2012-12-15 22:37:20 EET :Local ID 6a1d2828-ba79-427d-b680-f8c612b30005 : :Raw Audit Messages :type=AVC msg=audit(1355603840.135:262): avc: denied { name_connect } for pid=18751 comm="plugin-containe" dest=9875 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sap_port_t:s0 tclass=tcp_socket : : :type=SYSCALL msg=audit(1355603840.135:262): arch=x86_64 syscall=connect success=no exit=EACCES a0=17 a1=7f2188e345f0 a2=10 a3=0 items=0 ppid=18304 pid=18751 auid=1001 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 tty=(none) ses=16 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,sap_port_t,tcp_socket,name_connect : :audit2allow : :#============= mozilla_plugin_t ============== :allow mozilla_plugin_t sap_port_t:tcp_socket name_connect; : :audit2allow -R : :#============= mozilla_plugin_t ============== :allow mozilla_plugin_t sap_port_t:tcp_socket name_connect; :
Created attachment 664303 [details] File: type
Created attachment 664304 [details] File: hashmarkername
We allow this on F17/F18 DT allow mozilla_plugin_t port_type : tcp_socket name_connect ; [ mozilla_plugin_can_network_connect ] using the mozilla_plugin_can_network_connect boolean. SO execute # setsebool -P mozilla_plugin_can_network_connect 1 to make this working.
OK, I will test this solution. Thanks.