>> 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.
The mention of sendsyslog is not acceptable. When this man page shows up on some other system, it will be an Xr pointing to nowhere. The information is too specific. Frankly, noone will care. Old systems will continue doing what they have, which is the provided advice to have /dev/log in the chroot space. In attempting to remove this advice for OpenBSD-only, you are just plain being too specific. Meaning if someone leaves /dev/log in an OpenBSD chroot space, nothing at all is harmed. >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 >