Bug 540015

Summary: SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" access on /proc/<pid>.
Product: [Fedora] Fedora Reporter: Pedro Suarez <suarezalba>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: 147spam147, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:1aab01873f0ccb1b35929ad4d074b05e79a3ec5fd0bf64351584d5739ed73a0c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 08:19:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pedro Suarez 2009-11-21 22:37:46 UTC
Resúmen:

SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" access
on /proc/.

Descripción Detallada:

[chrome-sandbox es un tipo permisivo (chrome_sandbox_t). Este acceso no fue
denegado.]

SELinux denied access requested by chrome-sandbox. It is not expected that this
access is required by chrome-sandbox 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.

Permitiendo Acceso:

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

Información Adicional:

Contexto Fuente               unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Contexto Destino              system_u:system_r:hald_t:s0
Objetos Destino               /proc/<pid> [ dir ]
Fuente                        chrome-sandbox
Dirección de Fuente          /usr/lib/chromium-browser/chrome-sandbox
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          chromium-4.0.252.0-0.1.20091119svn32498.fc12
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.6.32-41.fc12
SELinux Activado              True
Tipo de Política             targeted
MLS Activado                  True
Modo Obediente                Enforcing
Nombre de Plugin              catchall
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31.5-127.fc12.i686 #1 SMP Sat
                              Nov 7 21:41:45 EST 2009 i686 i686
Cantidad de Alertas           1
Visto por Primera Vez         sáb 21 nov 2009 23:30:08 CET
Visto por Última Vez         sáb 21 nov 2009 23:30:08 CET
ID Local                      209e3e8d-7dc6-4a62-a016-b687798f479b
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1258842608.663:22132): avc:  denied  { getattr } for  pid=2355 comm="chrome-sandbox" path="/proc/1108" dev=proc ino=10469 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:system_r:hald_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258842608.663:22132): arch=40000003 syscall=195 success=yes exit=0 a0=bfda80cc a1=bfda8064 a2=c2eff4 a3=bfda888d items=0 ppid=2145 pid=2355 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="chrome-sandbox" exe="/usr/lib/chromium-browser/chrome-sandbox" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,chrome-sandbox,chrome_sandbox_t,hald_t,dir,getattr
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t hald_t:dir getattr;

Comment 1 Miroslav Grepl 2009-11-23 08:19:05 UTC

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