| Summary: | X can't forward through ssh | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vasiliy Glazov <vascom2> | ||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | selinux-policy-3.10.0-84.fc16 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-04-22 03:35:50 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Vasiliy Glazov
2011-11-25 08:19:50 UTC
If you execute # restorecon -R -v /home/vascom/.Xauthority does it fix the issue? No, it not fix problem. Ok, could you execute on the server # setenforce 0 # semodule -DB try to ssh -X to this server # ausearch -m avc -ts recent > ssh_selinux.log # semodule -B And attach this log please. Also could you add outputs of # ls -Z /home/vascom/.Xauthority # matchpathcon /home/vascom/.Xauthority Created attachment 570350 [details]
Selinux log
ls -Z /home/vascom/.Xauthority
-rw-------. vascom vascom system_u:object_r:xdm_home_t:s0 /home/vascom/.Xauthority
matchpathcon /home/vascom/.Xauthority
/home/vascom/.Xauthority unconfined_u:object_r:xauth_home_t:s0
Miroslav did we back port all of the file trans rules from F17 into F16? sesearch -T -s xdm_t -t user_home_dir_t | grep Xauth WARNING: Policy would be downgraded from version 27 to 26. type_transition xdm_t user_home_dir_t : file xauth_home_t ".Xauth"; type_transition xdm_t user_home_dir_t : file xauth_home_t ".Xauthority-c"; type_transition xdm_t user_home_dir_t : file xauth_home_t ".Xauthority-l"; type_transition xdm_t user_home_dir_t : file xauth_home_t ".Xauthority"; type_transition xdm_t user_home_dir_t : file xauth_home_t ".Xauthority-c"; type_transition xdm_t user_home_dir_t : file xauth_home_t ".Xauthority-l"; is missing. selinux-policy-3.10.0-84.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-84.fc16 selinux-policy-3.10.0-84.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |