Re: sftp chroot RELENG_14 vs RELENG_13 broken?

From: mike tancsa <mike_at_sentex.net>
Date: Tue, 05 Mar 2024 21:26:45 UTC
On 3/5/2024 4:03 PM, mike tancsa wrote:
> Hi all,
>
>     Trying to stand up a new vm with RELENG_14 and cant for some 
> reason get chrooted logging working with the sftp server built into 
> the base openssh.
>
> On a RELENG_13 box, the following config works
>
>

OK, truss to the rescue! If I create /var/run/log and hard link the 
socket there, it works on releng14.  I guess the next question is where 
and when did that behaviour change ?

The man page on RELENG_14 still says

     On some systems, sftp-server must be able to access /dev/log for 
logging
      to work, and use of sftp-server in a chroot configuration therefore
      requires that syslogd(8) establish a logging socket inside the chroot
      directory.

     ---Mike