Bug 599156

Summary: SELinux is preventing /usr/libexec/ck-get-x11-server-pid "read" access on /var/run/lxdm/lxdm.auth.
Product: [Fedora] Fedora Reporter: Jesús Franco <jefrancomix>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:a1a426c1a5f9085d76ed7db47f625425eb82eccf32480ec6228adea8a5287fa3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-02 18:46:57 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 Jesús Franco 2010-06-02 18:42:55 UTC
Resúmen:

SELinux is preventing /usr/libexec/ck-get-x11-server-pid "read" access on
/var/run/lxdm/lxdm.auth.

Descripción Detallada:

SELinux denied access requested by ck-get-x11-serv. It is not expected that this
access is required by ck-get-x11-serv 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:consolekit_t:s0-s0:c0.c1023
Contexto Destino              system_u:object_r:var_run_t:s0
Objetos Destino               /var/run/lxdm/lxdm.auth [ file ]
Fuente                        ck-get-x11-serv
Dirección de Fuente          /usr/libexec/ck-get-x11-server-pid
Puerto                        <Desconocido>
Nombre de Equipo              (eliminado)
Paquetes RPM Fuentes          ConsoleKit-x11-0.4.1-5.fc13
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.7.19-21.fc13
SELinux Activado              True
Tipo de Política             targeted
Modo Obediente                Enforcing
Nombre de Plugin              catchall
Nombre de Equipo              (eliminado)
Plataforma                    Linux (eliminado) 2.6.33.3-85.fc13.i686 #1 SMP Thu May
                              6 18:44:12 UTC 2010 i686 i686
Cantidad de Alertas           1
Visto por Primera Vez         mié 02 jun 2010 10:57:28 CDT
Visto por Última Vez         mié 02 jun 2010 10:57:28 CDT
ID Local                      55d978cb-e6d8-445f-bf44-7b33b15f9daa
Números de Línea            

Mensajes de Auditoría Crudos 

node=(eliminado) type=AVC msg=audit(1275494248.841:92): avc:  denied  { read } for  pid=25567 comm="ck-get-x11-serv" name="lxdm.auth" dev=sda1 ino=297 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file

node=(eliminado) type=SYSCALL msg=audit(1275494248.841:92): arch=40000003 syscall=33 success=no exit=-13 a0=bf8befc1 a1=4 a2=88cbb8 a3=bf8befc1 items=0 ppid=25566 pid=25567 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ck-get-x11-serv" exe="/usr/libexec/ck-get-x11-server-pid" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,ck-get-x11-serv,consolekit_t,var_run_t,file,read
audit2allow suggests:

#============= consolekit_t ==============
allow consolekit_t var_run_t:file read;

Comment 1 Daniel Walsh 2010-06-02 18:46:57 UTC

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