From owner-freebsd-questions@FreeBSD.ORG Wed Mar 21 15:16:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9DB216A50F for ; Wed, 21 Mar 2007 15:16:04 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-242.sw.biz.rr.com [64.183.212.242]) by mx1.freebsd.org (Postfix) with ESMTP id B77D113C4C9 for ; Wed, 21 Mar 2007 15:16:04 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (localhost [127.0.0.1]) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l2LFFuXV016107 for ; Wed, 21 Mar 2007 10:15:56 -0500 (CDT) (envelope-from freebsd@dfwlp.com) Received: (from www@localhost) by pollux.dfwlp.com (8.13.8/8.13.8/Submit) id l2LFFuox016106; Wed, 21 Mar 2007 10:15:56 -0500 (CDT) (envelope-from freebsd@dfwlp.com) X-Authentication-Warning: pollux.dfwlp.com: www set sender to freebsd@dfwlp.com using -f Received: from 167.246.36.14 (SquirrelMail authenticated user jhorne) by webmail.dfwlp.org with HTTP; Wed, 21 Mar 2007 10:15:56 -0500 (CDT) Message-ID: <42991.167.246.36.14.1174490156.squirrel@webmail.dfwlp.org> Date: Wed, 21 Mar 2007 10:15:56 -0500 (CDT) From: "Jonathan Horne" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pollux.dfwlp.com Subject: started playing with jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 15:16:05 -0000 i started playing with jails today, and after following and re-following the man page and the freebsddiary article a few times, i finally got it to work! i have one jail that starts on startup, and actually the hump i was getting over was getting the jail to actually kick off the sshd daemon. all that is working, and i can reboot my host, and then log into the jail that auto-starts via ssh. a couple of general questions that i cannot find the answers to: 1) if i want more than one jail, what is the proper syntax in the host's /etc/rc.conf file for the jail_list="jailed" statement? multiple jail_list lines, or a single line that specifies more than one jail? 2) what happens to a jail when i 'shutdown -p now' on the host? what caveats do i need to watch for when rebooting or shutting down the host? 3) i would like to build some ports in my jailed process, but for my environment, this requires mounting the export from my main box on my network. so far, i am not able to mount a NFS share to /usr/ports (mount_nfs: /usr/ports: Operation not permitted). so far so good, and im hoping i can find some interesting uses for jails on my network! thanks, jonathan