Bug 823231
Summary: | SSH login will state after password entering "Unable to get valid context for root" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ivo Sarak <ivo> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dominick.grift, dwalsh, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-27 11:11:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ivo Sarak
2012-05-20 04:28:41 UTC
This sounds like an SELinux label issue. You might want to relable your filesystem. Yes. ps -eZ | grep ssh If it is not running as sshd_t, you probably have a labelling issue. # touch /.autorelabel; reboot Should fix the systems labeling. Thanks, it did the trick. Before "touch /.autorelabel; reboot": [root@ragana ~]# ps -eZ|grep ssh system_u:system_r:kernel_t:s0 524 ? 00:00:27 sshd [root@ragana ~]# and after: [root@ragana ~]# ps -eZ|grep ssh system_u:system_r:sshd_t:s0-s0:c0.c1023 1125 ? 00:00:00 sshd [root@ragana ~]# I have SELinux in permissive mode. Why it should affect my system work? |