Bug 560837

Summary: SELinux is preventing /usr/bin/kdm "write" access on .dmrc.
Product: [Fedora] Fedora Reporter: Dilamar Martinez <dilamar.martinez>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:3d58acb62be22adc7e2c7bdd552d9babd3ba7819ec04e88d245e6090d44cdd7d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-02 13:39:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dilamar Martinez 2010-02-02 00:19:16 UTC
Resúmen:

SELinux is preventing /usr/bin/kdm "write" access on .dmrc.

Descripción Detallada:

[SELinux esta en modo permisivo. Este acceso no fue denegado.]

SELinux denied access requested by kdm. It is not expected that this access is
required by kdm and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Permitiendo Acceso:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Información Adicional:

Contexto Fuente               system_u:system_r:xdm_t:s0-s0:c0.c1023
Contexto Destino              system_u:object_r:admin_home_t:s0
Objetos Destino               .dmrc [ file ]
Fuente                        kdm
Dirección de Fuente          /usr/bin/kdm
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          kdm-4.3.90-9.fc13
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.7.8-2.fc13
SELinux Activado              True
Tipo de Política             targeted
Modo Obediente                Permissive
Nombre de Plugin              catchall
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.33-0.20.rc5.git0.fc13.x86_64 #1
                              SMP Fri Jan 22 19:49:17 UTC 2010 x86_64 x86_64
Cantidad de Alertas           1
Visto por Primera Vez         lun 01 feb 2010 18:00:59 CET
Visto por Última Vez         lun 01 feb 2010 18:00:59 CET
ID Local                      02cf452a-7616-4893-8513-3d3bfdaf4820
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1265043659.11:100): avc:  denied  { write } for  pid=13371 comm="kdm" name=".dmrc" dev=dm-0 ino=2826 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1265043659.11:100): arch=c000003e syscall=2 success=yes exit=3 a0=41f4c7 a1=a41 a2=180 a3=7fff59c89f00 items=0 ppid=13343 pid=13371 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=14 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.7.8-2.fc13,catchall,kdm,xdm_t,admin_home_t,file,write
audit2allow suggests:

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

Comment 1 Daniel Walsh 2010-02-02 13:39:47 UTC

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