From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 23:59:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61EFF37B401 for ; Fri, 18 Apr 2003 23:59:25 -0700 (PDT) Received: from web11407.mail.yahoo.com (web11407.mail.yahoo.com [216.136.131.237]) by mx1.FreeBSD.org (Postfix) with SMTP id 09AA443FA3 for ; Fri, 18 Apr 2003 23:59:25 -0700 (PDT) (envelope-from shizukakudo_99@yahoo.com) Message-ID: <20030419065924.74394.qmail@web11407.mail.yahoo.com> Received: from [219.76.96.9] by web11407.mail.yahoo.com via HTTP; Fri, 18 Apr 2003 23:59:24 PDT Date: Fri, 18 Apr 2003 23:59:24 -0700 (PDT) From: Shizuka Kudo To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: /etc/rc.d/jail question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 06:59:25 -0000 I have tried the newly included /etc/rc.d/jail and found that ${_jail_name} was never initialized. I believe it is a typo, and the following patch works for me. @@ -51,7 +51,7 @@ eval jail_rootdir=\"\$jail_${_jail}_rootdir\" eval jail_hostname=\"\$jail_${_jail}_hostname\" eval jail_ip=\"\$jail_${_jail}_ip\" - eval jail_exec=\"\$jail_${_jail_name}_exec\" + eval jail_exec=\"\$jail_${_jail}_exec\" [ -z ${jail_exec} ] && jail_exec="/bin/sh /etc/rc" jail ${jail_rootdir} ${jail_hostname} ${jail_ip} ${jail_exec} __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com