From 276571c29d0e8a0c0e2d75e18ff57d63eb26f68c Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 14 Jul 2008 12:09:57 +1000 Subject: [PATCH] - djm@cvs.openbsd.org 2008/07/14 01:55:56 [sftp-server.8] mention requirement for /dev/log inside chroot when using sftp-server with ChrootDirectory --- ChangeLog | 6 +++++- sftp-server.8 | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 611e87342..dfc8dc544 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,10 @@ increase number of piplelined requests so they properly fill the (recently increased) channel window. prompted by rapier AT psc.edu; ok markus@ + - djm@cvs.openbsd.org 2008/07/14 01:55:56 + [sftp-server.8] + mention requirement for /dev/log inside chroot when using sftp-server + with ChrootDirectory - (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to avoid clash with sin(3) function; reported by cristian.ionescu-idbohrn AT axis.com @@ -4658,4 +4662,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.5081 2008/07/14 02:04:43 djm Exp $ +$Id: ChangeLog,v 1.5082 2008/07/14 02:09:57 djm Exp $ diff --git a/sftp-server.8 b/sftp-server.8 index d760974ca..8b7131390 100644 --- a/sftp-server.8 +++ b/sftp-server.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sftp-server.8,v 1.12 2007/05/31 19:20:16 jmc Exp $ +.\" $OpenBSD: sftp-server.8,v 1.13 2008/07/14 01:55:56 djm Exp $ .\" .\" Copyright (c) 2000 Markus Friedl. All rights reserved. .\" @@ -22,7 +22,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: July 14 2008 $ .Dt SFTP-SERVER 8 .Os .Sh NAME @@ -72,6 +72,17 @@ DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. The default is ERROR. .El +.Pp +For logging to work, +.Nm +must be able to access +.Pa /dev/log . +Use of +.Nm +in a chroot configuation therefore requires that +.Xr syslogd 8 +establish a logging socket inside the chroot directory. +.Pp .Sh SEE ALSO .Xr sftp 1 , .Xr ssh 1 ,