Bug 599140

Summary: SELinux is preventing /usr/sbin/lxdm-binary "unlink" 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: dct996, dkrawchuk, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:10aeaadc264d1fffdba7d8aa84dfad66c02435fd3c22c5a4d42128130bdc187f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-02 18:46:38 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:19:07 UTC
Resúmen:

SELinux is preventing /usr/sbin/lxdm-binary "unlink" access on
/var/run/lxdm/lxdm.auth.

Descripción Detallada:

SELinux denied access requested by lxdm-binary. It is not expected that this
access is required by lxdm-binary 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:var_run_t:s0
Objetos Destino               /var/run/lxdm/lxdm.auth [ file ]
Fuente                        lxdm-binary
Dirección de Fuente          /usr/sbin/lxdm-binary
Puerto                        <Desconocido>
Nombre de Equipo              (eliminado)
Paquetes RPM Fuentes          lxdm-0.2.0-4.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 05:32:20 CDT
Visto por Última Vez         mié 02 jun 2010 05:32:20 CDT
ID Local                      a009dbd5-8a5e-405d-87c2-bc76f1b5679d
Números de Línea            

Mensajes de Auditoría Crudos 

node=(eliminado) type=AVC msg=audit(1275474740.646:54): avc:  denied  { unlink } for  pid=1340 comm="lxdm-binary" name="lxdm.auth" dev=sda1 ino=297 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file

node=(eliminado) type=SYSCALL msg=audit(1275474740.646:54): arch=40000003 syscall=10 success=no exit=-13 a0=996b760 a1=996c268 a2=57dff4 a3=996b760 items=0 ppid=1 pid=1340 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="lxdm-binary" exe="/usr/sbin/lxdm-binary" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,lxdm-binary,xdm_t,var_run_t,file,unlink
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t var_run_t:file unlink;

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

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