Bug 630345 - SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container access to a leaked /dev/pts/2 (deleted) file descriptor.
Summary: SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container access to a...
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:21fc69b1475...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-04 21:42 UTC by Matěj Cepl
Modified: 2018-04-11 08:44 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.3-1.fc14
Clone Of:
Environment:
Last Closed: 2010-09-11 03:42:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2010-09-04 21:42:33 UTC
This is firefox4 installed from http://repos.fedorapeople.org/repos/spot/firefox4/

Souhrn:

SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container access to a
leaked /dev/pts/2 (deleted) file descriptor.

Podrobný popis:

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

SELinux denied access requested by the plugin-containe command. It looks like
this is either a leaked descriptor or plugin-containe output was redirected to a
file it is not allowed to access. Leaks usually can be ignored since SELinux is
just closing the leak and reporting the error. The application does not use the
descriptor, so it will run properly. If this is a redirection, you will not get
output in the /dev/pts/2 (deleted). You should generate a bugzilla on
selinux-policy, and it will get routed to the appropriate package. You can
safely ignore this avc.

Povolení přístupu:

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

Další informace:

Kontext zdroje                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Kontext cíle                  unconfined_u:object_r:user_devpts_t:s0
Objekty cíle                  /dev/pts/2 (deleted) [ chr_file ]
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        leaks
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                 So 4. září 2010, 22:51:33 CEST
Naposledy viděno              So 4. září 2010, 22:51:33 CEST
Místní ID                     7b59c9d1-e37d-43d0-93ea-01b14d1ac212
Čísla řádků                   

Původní zprávy auditu         

node=(odstraněno) type=AVC msg=audit(1283633493.417:4847): avc:  denied  { read write } for  pid=1416 comm="plugin-containe" path=2F6465762F7074732F32202864656C6574656429 dev=devpts ino=5 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_devpts_t:s0 tclass=chr_file

node=(odstraněno) type=SYSCALL msg=audit(1283633493.417:4847): arch=c000003e syscall=59 success=yes exit=0 a0=7f9a65acb7f8 a1=7f9a9d6f88b0 a2=7f9ad7621400 a3=7f9ad6bd5660 items=0 ppid=1181 pid=1416 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 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  leaks,plugin-containe,mozilla_plugin_t,user_devpts_t,chr_file,read,write
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_devpts_t:chr_file { read write };

Comment 1 Daniel Walsh 2010-09-07 19:59:52 UTC
Fixed in selinux-policy-3.9.3-1.fc14

Comment 2 Fedora Update System 2010-09-08 18:41:34 UTC
selinux-policy-3.9.3-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 3 Fedora Update System 2010-09-09 04:12:14 UTC
selinux-policy-3.9.3-1.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.3-1.fc14

Comment 4 Fedora Update System 2010-09-11 03:41:00 UTC
selinux-policy-3.9.3-1.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.