Bug 539550 - SELinux is preventing access to files with the label, file_t.
Summary: SELinux is preventing access to files with the label, file_t.
Keywords:
Status: CLOSED DUPLICATE of bug 537613
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:84ea356bdcf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-20 14:51 UTC by Santiago Lunar
Modified: 2009-12-09 03:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-20 15:15:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Santiago Lunar 2009-11-20 14:51:29 UTC
Resúmen:

SELinux is preventing access to files with the label, file_t.

Descripción Detallada:

SELinux permission checks on files labeled file_t are being denied. file_t is
the context the SELinux kernel gives to files that do not have a label. This
indicates a serious labeling problem. No files on an SELinux box should ever be
labeled file_t. If you have just added a new disk drive to the system you can
relabel it using the restorecon command. Otherwise you should relabel the entire
file system.

Permitiendo Acceso:

You can execute the following command as root to relabel your computer system:
"touch /.autorelabel; reboot"

Información Adicional:

Contexto Fuente               system_u:system_r:xdm_t:s0-s0:c0.c1023
Contexto Destino              system_u:object_r:file_t:s0
Objetos Destino               osoriopa [ dir ]
Fuente                        gdm-session-wor
Dirección de Fuente          /usr/libexec/gdm-session-worker
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          gdm-2.28.1-24.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              file
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31.5-127.fc12.i686.PAE #1
                              SMP Sat Nov 7 21:25:57 EST 2009 i686 i686
Cantidad de Alertas           3
Visto por Primera Vez         vie 20 nov 2009 09:38:18 VET
Visto por Última Vez         vie 20 nov 2009 09:45:06 VET
ID Local                      ae7a4413-5dd2-4c46-b5a1-ba45819c6ca0
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1258726506.204:43670): avc:  denied  { read write search } for  pid=3517 comm="gdm-session-wor" name="osoriopa" dev=sda4 ino=65537 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258726506.204:43670): arch=40000003 syscall=33 success=no exit=-13 a0=818e7a0 a1=7 a2=7b41a4 a3=8204b58 items=0 ppid=3495 pid=3517 auid=501 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=(none) ses=5 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,file,gdm-session-wor,xdm_t,file_t,dir,read,write,search
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t file_t:dir { read write search };

Comment 1 Daniel Walsh 2009-11-20 15:15:03 UTC

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


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