[CentOS] CentOS-6 SSHD chroot SELinux problem

Fri Oct 9 13:54:24 UTC 2015
Mark Tinberg <mark.tinberg at wisc.edu>

> On Oct 9, 2015, at 7:58 AM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
> 
> allow syslogd_t user_home_t:dir write;
> 

The easiest way to fix this would be to use chcon to change the file context of the syslog socket in the chroot directory to be like the main /dev/log, and any log files and directories to the same type as the main system, instead of the user_home_t types that get created by default.

— 
Mark Tinberg, System Administrator
Division of Information Technology - Network Services
University of Wisconsin - Madison
mark.tinberg at wisc.edu