Description of problem: SELinux is preventing /usr/bin/Xephyr from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X0. ***** Plugin catchall (100. confidence) suggests ************************** If 您确定应默认允许 Xephyr connectto 访问 X0 unix_stream_socket。 Then 您应该将这个情况作为 bug 报告。 您可以生成本地策略模块允许这个访问。 Do 请执行以下命令此时允许这个访问: # grep Xephyr /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:sandbox_x_t:s0:c170,c571 Target Context system_u:system_r:xserver_t:s0-s0:c0.c1023 Target Objects @/tmp/.X11-unix/X0 [ unix_stream_socket ] Source Xephyr Source Path /usr/bin/Xephyr Port <Unknown> Host (removed) Source RPM Packages xorg-x11-server-Xephyr-1.16.1-1.fc21.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-99.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.17.4-301.fc21.x86_64 #1 SMP Thu Nov 27 19:09:10 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-12-06 19:48:27 CST Last Seen 2014-12-06 19:48:27 CST Local ID de4dcb79-73e2-4ced-90cc-97bc28f44ccb Raw Audit Messages type=AVC msg=audit(1417866507.862:364): avc: denied { connectto } for pid=3677 comm="Xephyr" path=002F746D702F2E5831312D756E69782F5830 scontext=unconfined_u:unconfined_r:sandbox_x_t:s0:c170,c571 tcontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=0 type=SYSCALL msg=audit(1417866507.862:364): arch=x86_64 syscall=connect success=no exit=EACCES a0=0 a1=7fffd04e6b70 a2=14 a3=7fffd04e6b73 items=0 ppid=3668 pid=3677 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=Xephyr exe=/usr/bin/Xephyr subj=unconfined_u:unconfined_r:sandbox_x_t:s0:c170,c571 key=(null) Hash: Xephyr,sandbox_x_t,xserver_t,unix_stream_socket,connectto Version-Release number of selected component: selinux-policy-3.13.1-99.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.17.4-302.fc21.x86_64 type: libreport Potential duplicate: bug 1105652
*** This bug has been marked as a duplicate of bug 1103622 ***