[Lxc-users] When SElinux is enabled, ssh connection is closed right after authentication.
David Kang
dkang at isi.edu
Tue Apr 17 16:36:25 UTC 2012
Hi,
I'm trying to run LXC container with SELinux enabled.
When SELinux is permissive, there is no problem.
I can ssh into the LXC container.
However, when SELinux is enabled, ssh connection to the LXC instance cannot be made.
Right after authentication, it closes the connection.
Any ssh connection that was done before SELinux is enabled still works fine even after
SELinux gets enabled.
However, with SELinux is enabled, no new ssh connection to the LXC container can be made.
I believe it is related to sshd.
Any idea how to fix it?
System configuration:
OS: RHEL 6.1
Kernel: 2.6.38.2 with a patch for lxc-attach support
Libvirt: libvirt-0.9.4
Thanks,
David
----------------------
Dr. Dong-In "David" Kang
Computer Scientist
USC/ISI
More information about the lxc-users
mailing list