Theo de Raadt wrote on Fri, Jul 18, 2014 at 03:04:28PM -0600:

> Unfortunately, no.
> 
> The ssh manual pages are also used by the -portable effort.  We do not
> bother documenting these divergences; there is little harm.
> 
> Actually you could submit a new diff which suggest that logging
> "might" need a /dev/log setup.  If written carefully to cover both
> kinds of systems, that would be accepted.

OK?
  Ingo


Index: sftp-server.8
===================================================================
RCS file: /cvs/src/usr.bin/ssh/sftp-server.8,v
retrieving revision 1.25
diff -u -r1.25 sftp-server.8
--- sftp-server.8       14 Oct 2013 14:18:56 -0000      1.25
+++ sftp-server.8       28 Jul 2014 15:14:45 -0000
@@ -140,15 +140,21 @@
 user's default mask.
 .El
 .Pp
-For logging to work,
+On many systems,
 .Nm
 must be able to access
-.Pa /dev/log .
-Use of
+.Pa /dev/log
+for logging to work, and use of
 .Nm
 in a chroot configuration therefore requires that
 .Xr syslogd 8
 establish a logging socket inside the chroot directory.
+This is not needed on systems implementing the
+.Xr syslog 3
+family of functions in terms of a
+.Xr sendsyslog 2
+system call, for example
+.Ox .
 .Sh SEE ALSO
 .Xr sftp 1 ,
 .Xr ssh 1 ,
Index: sshd_config.5
===================================================================
RCS file: /cvs/src/usr.bin/ssh/sshd_config.5,v
retrieving revision 1.175
diff -u -r1.175 sshd_config.5
--- sshd_config.5       15 Jul 2014 15:54:14 -0000      1.175
+++ sshd_config.5       28 Jul 2014 15:14:45 -0000
@@ -345,9 +345,9 @@
 .Dq sftp ,
 no additional configuration of the environment is necessary if the
 in-process sftp server is used,
-though sessions which use logging do require
+though sessions which use logging may require
 .Pa /dev/log
-inside the chroot directory (see
+inside the chroot directory on some operating systems (see
 .Xr sftp-server 8
 for details).
 .Pp

Reply via email to