[CentOS] OpenSSH-5.3p1 selinux problem on CentOS-5.4.

Wed Feb 3 17:02:31 UTC 2010
Ned Slider <ned at unixmail.co.uk>

James B. Byrne wrote:

<snip>

> 
> The new server software works fine for regular ssh/sftp users.
> However, when logging on as a member of the chroot group we obtain
> this error:
> 
> ssh_selinux_getctxbyname: ssh_selinux_getctxbyname:
> security_getenforce() failed
> 

<snip>

> 
> # sestatus
> SELinux status:                 enabled
> SELinuxfs mount:                /selinux
> Current mode:                   permissive
> Mode from config file:          permissive
> Policy version:                 21
> Policy from config file:        targeted
> 

What happens if you enable SELinux, i.e, set it to enforcing? Do you 
still see the same error message above?