Bug 657740

Summary: SELinux impedisce l'accesso /usr/bin/xrdb "connectto" on @/tmp/.X11-unix/X0.
Product: [Fedora] Fedora Reporter: antonio montagnani <antonio.montagnani>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:5fa05696b8718c8ad27ae7d2fec8b7fd8754f919be607872ef179fa769e81e6c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-28 22:26:32 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 antonio montagnani 2010-11-27 16:50:09 UTC
Sommario:

SELinux impedisce l'accesso /usr/bin/xrdb "connectto" on @/tmp/.X11-unix/X0.

Descrizione dettagliata:

[SELinux è in modalità permissiva. Questo accesso non è stato negato.]

SELinux ha negato l'accesso richiesto da xrdb. Non è previsto che questo accesso
venga richiesto da xrdb, e tale accesso può segnalare un tentativo di
intrusione. È anche possibile che questo sia provocato dalla specifica versione
o dalla configurazione dell'applicazione per richiedere un ulteriore accesso.

Abilitazione accesso in corso:

E' possibile generare un modulo di politica locale per consentire questo accesso
- consultare le FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385)
Inviare un bug report.

Informazioni aggiuntive:

Contesto della sorgente       system_u:system_r:pam_console_t:s0
Contesto target               system_u:system_r:xserver_t:s0-s0:c0.c1023
Oggetti target                @/tmp/.X11-unix/X0 [ unix_stream_socket ]
Sorgente                      xrdb
Percorso della sorgente       /usr/bin/xrdb
Porta                         <Sconosciuto>
Host                          (rimosso)
Sorgente Pacchetti RPM        xorg-x11-server-utils-7.4-19.fc14
Pacchetti RPM target          
RPM della policy              selinux-policy-3.9.7-12.fc14
Selinux abilitato             True
Tipo di policy                targeted
Modalità Enforcing            Permissive
Nome plugin                   catchall
Host Name                     (rimosso)
Piattaforma                   Linux (rimosso) 2.6.35.6-48.fc14.i686.PAE #1 SMP Fri
                              Oct 22 15:27:53 UTC 2010 i686 i686
Conteggio avvisi              1
Primo visto                   sab 27 nov 2010 17:29:12 CET
Ultimo visto                  sab 27 nov 2010 17:29:12 CET
ID locale                     c9816b49-25c7-4f82-a487-cfbd2f930969
Numeri di linea               

Messaggi Raw Audit            

node=(rimosso) type=AVC msg=audit(1290875352.317:23): avc:  denied  { connectto } for  pid=2435 comm="xrdb" path=002F746D702F2E5831312D756E69782F5830 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(rimosso) type=SYSCALL msg=audit(1290875352.317:23): arch=40000003 syscall=102 success=yes exit=0 a0=3 a1=bfd0bda0 a2=a069dc a3=98ae010 items=0 ppid=2432 pid=2435 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="xrdb" exe="/usr/bin/xrdb" subj=system_u:system_r:pam_console_t:s0 key=(null)



Hash String generated from  catchall,xrdb,pam_console_t,xserver_t,unix_stream_socket,connectto
audit2allow suggests:

#============= pam_console_t ==============
allow pam_console_t xserver_t:unix_stream_socket connectto;

Comment 1 Miroslav Grepl 2010-11-28 22:26:32 UTC

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