From owner-freebsd-ports@FreeBSD.ORG Thu Oct 14 23:24:36 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A3CD16A4CE for ; Thu, 14 Oct 2004 23:24:36 +0000 (GMT) Received: from web21327.mail.yahoo.com (web21327.mail.yahoo.com [216.136.175.216]) by mx1.FreeBSD.org (Postfix) with SMTP id 3F2E943D5C for ; Thu, 14 Oct 2004 23:24:36 +0000 (GMT) (envelope-from brueggma@yahoo.com) Message-ID: <20041014232436.60904.qmail@web21327.mail.yahoo.com> Received: from [24.15.98.46] by web21327.mail.yahoo.com via HTTP; Thu, 14 Oct 2004 16:24:36 PDT Date: Thu, 14 Oct 2004 16:24:36 -0700 (PDT) From: asfdqwer xzcvdsf To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: pure-ftpd within a jail X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 23:24:36 -0000 Greetings, I'm having problems using pure-ftpd within a jail. I'm unable to set it up as a "secure anonymouse" ftp server. The config file I have setup works on the host, but not the jail.. This works for normal users, just not anonymouse users. jail# ftp localhost Trying ::1... Trying 127.0.0.1... Connected to localhost. 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 18:16. Server port: 21. 220 You will be disconnected after 3 minutes of inactivity. Name (localhost:user): ftp 421 Unable to set up secure anonymous FTP ftp: Login failed. ftp> quit jail# host# truss -p 36290 (null)() = 1 (0x1) accept(0x4,{ AF_INET 69.13.248.247:51044 },0xbfbfddfc) = 5 (0x5) sigprocmask(0x1,0xbfbfea90,0x0) = 0 (0x0) fork() = 89910 (0x15f36) close(5) = 0 (0x0) sigprocmask(0x2,0xbfbfea90,0x0) = 0 (0x0) SIGNAL 20 (SIGCHLD) select(5,{4},0x0,0x0,0x0) ERR#4 'Interrupted system call' SIGNAL 20 (SIGCHLD) SIGNAL 20 (SIGCHLD) wait4(0xffffffff,0x0,0x1,0x0) = 89910 (0x15f36) unlink("/var/run/pure-ftpd/client-00089910") = 0 (0x0) wait4(0xffffffff,0x0,0x1,0x0) ERR#10 'No child processes' sigreturn(0xbfbfe7b0) ERR#4 'Interrupted system call' jail# ls -la /var/ftp/ total 12 dr-xr-xr-x 6 root wheel 512 Oct 11 21:00 . drwxr-xr-x 21 root wheel 512 Oct 13 20:09 .. dr-xr-xr-x 2 root wheel 512 Oct 11 21:00 bin dr-xr-xr-x 2 root wheel 512 Oct 11 21:00 etc drwxr-xr-x 2 root wheel 512 Oct 11 21:00 pub jail#