Xauth fails with access denied when SELinux is enabled

Solution In Progress - Updated -

Issue

  • Xauth fails to execute and returns an access denied when selinx is enabled.
type=SELINUX_ERR msg=audit(1402495041.005:85): security_compute_sid:  invalid context system_u:system_r:xauth_t:s0-s0:c0.c1023 for scontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xauth_exec_t:s0 tclass=process
type=SYSCALL msg=audit(1402495041.005:85): arch=c000003e syscall=59 success=no exit=-13 a0=1dc34d0 a1=1dc6770 a2=1dd4d60 a3=10 items=1 ppid=1994 pid=2031 auid=4294967295 uid=1192 gid=500 euid=1192 suid=1192 fsuid=1192 egid=500 sgid=500 fsgid=500 tty=pts0 ses=4294967295 comm="bash" exe="/bin/bash" subj=system_u:system_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content