Bug 630392 - SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "connectto" access on @/tmp/dbus-uVup4EyHm8.
Summary: SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "connectto"...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1c3cf318c9d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-05 10:00 UTC by Matěj Cepl
Modified: 2018-04-11 10:32 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.9.5-7.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-05 13:14:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2010-09-05 10:00:13 UTC
With Firefox4 from http://repos.fedorapeople.org/repos/spot/firefox4/
Souhrn:

SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "connectto"
access on @/tmp/dbus-uVup4EyHm8.

Podrobný popis:

[SELinux je v tolerantním režimu. Přístup byl povolen.]

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Povolení přístupu:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Další informace:

Kontext zdroje                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Kontext cíle                  unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0
                              :c0.c1023
Objekty cíle                  @/tmp/dbus-uVup4EyHm8 [ unix_stream_socket ]
Zdroj                         plugin-containe
Cesta zdroje                  /usr/lib64/xulrunner-2.0b4/plugin-container
Port                          <Neznámé>
Počítač                       (odstraněno)
RPM balíčky zdroje            xulrunner2-2.0-0.5.b4.fc14
RPM balíčky cíle              
RPM politiky                  selinux-policy-3.9.0-2.fc14
Selinux povolen               True
Typ politiky                  targeted
Vynucovací režim              Permissive
Název zásuvného modulu        catchall
Název počítače                (odstraněno)
Platforma                     Linux (odstraněno) 2.6.35.4-12.fc14.x86_64
                              #1 SMP Fri Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Počet upozornění              1
Poprvé viděno                 Ne 5. září 2010, 11:58:42 CEST
Naposledy viděno              Ne 5. září 2010, 11:58:42 CEST
Místní ID                     8f5d7dd5-e550-4c03-90ec-9cf92647b1a0
Čísla řádků                   

Původní zprávy auditu         

node=(odstraněno) type=AVC msg=audit(1283680722.259:4951): avc:  denied  { connectto } for  pid=9178 comm="plugin-containe" path=002F746D702F646275732D75567570344579486D38 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(odstraněno) type=SYSCALL msg=audit(1283680722.259:4951): arch=c000003e syscall=42 success=yes exit=0 a0=f a1=7fff4cab2b30 a2=17 a3=7fff4cab2890 items=0 ppid=8690 pid=9178 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=29 comm="plugin-containe" exe="/usr/lib64/xulrunner-2.0b4/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,unconfined_dbusd_t,unix_stream_socket,connectto
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t unconfined_dbusd_t:unix_stream_socket connectto;

Comment 1 Daniel Walsh 2010-09-07 19:49:07 UTC
Any idea why /usr/lib64/xulrunner-2.0b4/plugin-container would connect to the session bus?

Comment 2 Hicham HAOUARI 2010-09-26 16:58:08 UTC
it is happening with xulrunner-1.9.2.10-1.fc14 as well

Comment 3 Daniel Walsh 2010-09-27 13:27:29 UTC
Ok I will allow it.  
Fixed in selinux-policy-3.9.5-7.fc14

Comment 4 Fedora Update System 2010-09-27 14:47:08 UTC
selinux-policy-3.9.5-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-7.fc14

Comment 5 Fedora Update System 2010-09-27 20:08:40 UTC
selinux-policy-3.9.5-7.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-7.fc14

Comment 6 Fedora Update System 2010-10-05 13:13:04 UTC
selinux-policy-3.9.5-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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