Bug 573491 - 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:1f8ca65e39c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-15 00:37 UTC by Ein
Modified: 2010-03-15 22:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-03-15 02:56:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ein 2010-03-15 00:37:21 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 disk drive to the system you can
relabel it using the restorecon command. For example if you saved the home
directory from a previous installation that did not use SELinux, 'restorecon -R
-v /home' will fix the labels. 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               /home/carola [ dir ]
Fuente                        gdm-simple-gree
Dirección de Fuente          /usr/libexec/gdm-simple-greeter
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          gdm-2.28.2-1.fc12
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.6.32-99.fc12
SELinux Activado              True
Tipo de Política             targeted
Modo Obediente                Enforcing
Nombre de Plugin              file
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.32.9-70.fc12.i686 #1 SMP Wed Mar
                              3 05:14:32 UTC 2010 i686 athlon
Cantidad de Alertas           576
Visto por Primera Vez         mié 24 feb 2010 19:52:42 UYST
Visto por Última Vez         dom 14 mar 2010 22:18:55 UYT
ID Local                      4821f211-e4da-46ea-a1da-255bc53daf87
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1268615935.400:19): avc:  denied  { read } for  pid=1651 comm="gdm-simple-gree" name="carola" dev=sda6 ino=8210 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(1268615935.400:19): arch=40000003 syscall=292 success=no exit=-13 a0=12 a1=96175f8 a2=1002fce a3=96175e0 items=0 ppid=1614 pid=1651 auid=4294967295 uid=42 gid=481 euid=42 suid=42 fsuid=42 egid=481 sgid=481 fsgid=481 tty=(none) ses=4294967295 comm="gdm-simple-gree" exe="/usr/libexec/gdm-simple-greeter" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  file,gdm-simple-gree,xdm_t,file_t,dir,read
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t file_t:dir read;

Comment 1 Daniel Walsh 2010-03-15 02:56:22 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.