Bug 558823 - 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: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f66c8d93a57...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-26 14:22 UTC by milkybarsp
Modified: 2010-01-27 12:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-27 12:44:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description milkybarsp 2010-01-26 14:22:34 UTC
Sumário:

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

Descrição detalhada:

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.

Permitindo acesso:

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

Informações adicionais:

Contexto de origem            system_u:system_r:xdm_t:s0-s0:c0.c1023
Contexto de destino           system_u:object_r:file_t:s0
Objetos de destino            /home/nil/.dmrc [ file ]
Origem                        kdm
Caminho da origem             /usr/bin/kdm
Porta                         <Desconhecido>
Máquina                      (removed)
Pacotes RPM de origem         kdm-4.3.4-6.fc12
Pacotes RPM de destino        
RPM da política              selinux-policy-3.6.32-69.fc12
Selinux habilitado            True
Tipo de política             targeted
Modo reforçado               Enforcing
Nome do plugin                file
Nome da máquina              (removed)
Plataforma                    Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Contador de alertas           14
Visto pela primeira vez em    Dom 10 Jan 2010 12:43:39 BRT
Visto pela última vez em     Seg 25 Jan 2010 21:29:11 BRT
ID local                      69c0afdc-9ec2-4233-b7fc-79001291ad30
Números de linha             

Mensagens de auditoria não p 

node=(removed) type=AVC msg=audit(1264465751.31:14): avc:  denied  { write } for  pid=1500 comm="kdm" name=".dmrc" dev=sda5 ino=338 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1264465751.31:14): arch=c000003e syscall=2 success=no exit=-13 a0=41f5e7 a1=a41 a2=180 a3=1b items=0 ppid=1388 pid=1500 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="kdm" exe="/usr/bin/kdm" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-69.fc12,file,kdm,xdm_t,file_t,file,write
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t file_t:file write;

Comment 1 Miroslav Grepl 2010-01-27 12:44:31 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.