Bug 615838

Summary: Unable to execute xauth when using ssh -Y
Product: [Fedora] Fedora Reporter: Ignacio Vazquez-Abrams <ivazqueznet>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-20 10:11:30 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 Ignacio Vazquez-Abrams 2010-07-19 04:26:51 UTC
Description of problem:
When using ssh -Y, SELinux prevents xauth from being executed on the server.

Version-Release number of selected component (if applicable):
selinux-policy-(none):3.6.32-118.fc12.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Try to use ssh -Y to ssh into a F12 machine
  
Actual results:
"sh: /usr/bin/xauth: Permission denied"

type=SELINUX_ERR msg=audit(1279513152.238:190): 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

Expected results:
Should work

Additional info:

Comment 1 Miroslav Grepl 2010-07-19 13:28:20 UTC
Could you add your output of the following command

ps -eZ | grep sshd

on F12 machine.