Summary: SELinux is preventing /usr/bin/xauth "name_connect" access . Detailed Description: SELinux denied access requested by xauth. It is not expected that this access is required by xauth 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. Allowing Access: 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. Additional Information: Source Context unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 Target Context system_u:object_r:xserver_port_t:s0 Target Objects None [ tcp_socket ] Source xauth Source Path /usr/bin/xauth Port 6000 Host (removed) Source RPM Packages xorg-x11-xauth-1.0.2-7.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-84.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux bletchley 2.6.31.12-174.2.19.fc12.i686 #1 SMP Thu Feb 11 07:39:11 UTC 2010 i686 i686 Alert Count 1 First Seen Tue 16 Feb 2010 12:47:53 PM EST Last Seen Tue 16 Feb 2010 12:47:53 PM EST Local ID 7b7e1e7d-fc44-4795-8858-8693455ffbc3 Line Numbers Raw Audit Messages node=bletchley type=AVC msg=audit(1266342473.548:17173): avc: denied { name_connect } for pid=3871 comm="xauth" dest=6000 scontext=unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_port_t:s0 tclass=tcp_socket node=bletchley type=SYSCALL msg=audit(1266342473.548:17173): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bf8aa3f0 a2=23e8f8 a3=10 items=0 ppid=3870 pid=3871 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="xauth" exe="/usr/bin/xauth" subj=unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 key=(null) Hash String generated from catchall,xauth,xauth_t,xserver_port_t,tcp_socket,name_connect audit2allow suggests: #============= xauth_t ============== allow xauth_t xserver_port_t:tcp_socket name_connect;
I was installing packages on a machine that was initially installed with Fedora 11 and then upgraded to Fedora 12.
Miroslav, Add corenet_tcp_connect_xserver_port(xauth_t)
Fixed in selinux-policy-3.6.32-91.fc12
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.