Bug 544797 - 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:f1b968237f9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-06 15:25 UTC by Buzugenn
Modified: 2009-12-08 10:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-06 15:57:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Buzugenn 2009-12-06 15:25:14 UTC
Résumé:

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

Description détaillée:

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.

Autoriser l'accès:

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

Informations complémentaires:

Contexte source               system_u:system_r:xdm_t:s0-s0:c0.c1023
Contexte cible                system_u:object_r:file_t:s0
Objets du contexte            /home/loreley [ dir ]
source                        gdm-simple-gree
Chemin de la source           /usr/libexec/gdm-simple-greeter
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         gdm-2.28.1-24.fc12
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.32-49.fc12
Selinux activé               True
Type de politique             targeted
Mode strict                   Enforcing
Nom du plugin                 file
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.31.6-145.fc12.x86_64 #1 SMP Sat
                              Nov 21 15:57:45 EST 2009 x86_64 x86_64
Compteur d'alertes            96
Première alerte              dim. 29 nov. 2009 17:43:44 CET
Dernière alerte              dim. 06 déc. 2009 16:23:32 CET
ID local                      415210c0-019c-45dd-b90f-a1a97fb675dd
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1260113012.662:21928): avc:  denied  { read } for  pid=2328 comm="gdm-simple-gree" name="loreley" dev=sda5 ino=8193 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(1260113012.662:21928): arch=c000003e syscall=254 success=no exit=-13 a0=12 a1=1c59340 a2=1002fce a3=1 items=0 ppid=2295 pid=2328 auid=4294967295 uid=42 gid=474 euid=42 suid=42 fsuid=42 egid=474 sgid=474 fsgid=474 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  selinux-policy-3.6.32-49.fc12,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 2009-12-06 15:57:35 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.