Bug 544903 - 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:4bbeede02cf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-07 00:50 UTC by fred
Modified: 2009-12-07 10:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-07 10:56:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description fred 2009-12-07 00:50:26 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            .dmrc [ file ]
source                        gdm-session-wor
Chemin de la source           /usr/libexec/gdm-session-worker
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         gdm-2.28.0-9.fc12
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.32-24.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.1-56.fc12.x86_64 #1 SMP Tue
                              Sep 29 16:16:22 EDT 2009 x86_64 x86_64
Compteur d'alertes            1
Première alerte              dim. 25 oct. 2009 18:01:15 CET
Dernière alerte              dim. 25 oct. 2009 18:01:15 CET
ID local                      f3e4c79d-98ea-45ac-baa3-9199808290ff
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1256490075.239:53154): avc:  denied  { read } for  pid=1644 comm="gdm-session-wor" name=".dmrc" dev=sda6 ino=95496 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(1256490075.239:53154): arch=c000003e syscall=2 success=no exit=-13 a0=130b660 a1=0 a2=0 a3=2 items=0 ppid=1602 pid=1644 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 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-24.fc12,file,gdm-session-wor,xdm_t,file_t,file,read
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-12-07 10:56:30 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.