Bug 549612 - SELinux is preventing /usr/bin/gok "getattr" access on /var/squidGuard.
Summary: SELinux is preventing /usr/bin/gok "getattr" access on /var/squidGuard.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5c3bd0695b7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-22 04:24 UTC by Consuelo
Modified: 2010-01-08 20:10 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-66.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-05 23:00:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Consuelo 2009-12-22 04:24:38 UTC
Resúmen:

SELinux is preventing /usr/bin/gok "getattr" access on /var/squidGuard.

Descripción Detallada:

SELinux denied access requested by gok. It is not expected that this access is
required by gok 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               system_u:system_r:xdm_t:s0-s0:c0.c1023
Contexto Destino              system_u:object_r:squid_cache_t:s0
Objetos Destino               /var/squidGuard [ dir ]
Fuente                        gok
Dirección de Fuente          /usr/bin/gok
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          gok-2.28.1-1.fc12
Paquetes RPM Destinos         squidGuard-1.4-8.fc12
RPM de Políticas             selinux-policy-3.6.32-56.fc12
SELinux Activado              True
Tipo de Política             targeted
Modo Obediente                Enforcing
Nombre de Plugin              catchall
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed
                              Dec 9 11:00:30 EST 2009 i686 i686
Cantidad de Alertas           6
Visto por Primera Vez         dom 20 dic 2009 04:13:26 CST
Visto por Última Vez         lun 21 dic 2009 16:05:45 CST
ID Local                      edc6fe56-d21b-4562-81a5-77ee53c86e6c
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1261433145.676:13): avc:  denied  { getattr } for  pid=1512 comm="gok" path="/var/squidGuard" dev=sda2 ino=329088 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:squid_cache_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1261433145.676:13): arch=40000003 syscall=196 success=no exit=-13 a0=b52016d0 a1=b5dff08c a2=896ff4 a3=b59d580 items=0 ppid=1390 pid=1512 auid=4294967295 uid=42 gid=474 euid=42 suid=42 fsuid=42 egid=474 sgid=474 fsgid=474 tty=(none) ses=4294967295 comm="gok" exe="/usr/bin/gok" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-56.fc12,catchall,gok,xdm_t,squid_cache_t,dir,getattr
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t squid_cache_t:dir getattr;

Comment 1 Daniel Walsh 2009-12-22 13:36:08 UTC
Fixed in selinux-policy-3.6.32-59.fc12.noarch
yum update selinux-policy-targeted --enablerepo=updates-testing

Comment 2 Fedora Update System 2009-12-22 21:56:07 UTC
selinux-policy-3.6.32-63.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-63.fc12

Comment 3 Fedora Update System 2010-01-04 21:53:40 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 4 Fedora Update System 2010-01-05 22:49:42 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0184

Comment 5 Fedora Update System 2010-01-05 22:58:00 UTC
selinux-policy-3.6.32-63.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-01-08 20:04:26 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 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.