New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh connection closed RHEL 6.5 #5032
Comments
Opened a bug report on Red Hat bugzilla as it affects CentOS 6.4, 6.5 and RHEL 6.5 but not Ubuntu 12.04, 12.10 or 13.04 https://bugzilla.redhat.com/show_bug.cgi?id=1085081 |
Running sshd -dddd I've got debug1: SELinux support enabled which pointed me to https://groups.google.com/forum/#!msg/docker-user/7EyZthXHcww/B3YAV0XsxNAJ Disabling SELinux worked, setting it to permissive didn't. There's a pull requested that pull request regarding SELinux support in docker that was merged 12 days ago, perhaps will be included in the next rpm release #4211. |
I've checked and SELinux pull was included in Docker 0.10.0 and I got the 0.10.0-2 RPM for RHEL installed but I still get the same error as Guy debug1: SELinux support enabled Similar by disabling SELinux everything works like a charm, but setting it to either Enforcing or Permissive and it fails. No logs on either the host or container under /var/log/messages for SELinux errors Link to RH bugzilla issue 1085081 |
As on user list You might want to install setroubleshoot-server on the RHEL host then I don't have a RHEL 6 box to hand but this looks relevant |
Ok checked the audit.log, but I only see lines that indicate success and 55 uid=501 auid=501 ses=4 On Wed, Apr 16, 2014 at 9:35 AM, Paul Nasrat notifications@github.comwrote:
|
With a yum update the issue now resolved itself. |
thanks arnos,after i run yum update ,everything ok!!!! |
I'm puzzled by this behaviour I'm not able to create a single container with SSHD working as expected (connection gets closed by the host as soon as authentication is validated).
I'm running RHEL 6.5, kernel 2.6.32, Docker 0.9.0 (build 2b3fdf2/0.9.0)
I've also tried with Docker 0.9.1-1
I've tried with the following containers
hzhang/centos-ssh
sameersbn/gitlab (6.7.2 & 6.7.3)
I've built the http://docs.docker.io/en/latest/examples/running_ssh_service/
Everything looks fine until the authentication is accepted and then the connection closes
The text was updated successfully, but these errors were encountered: