From owner-cvs-src@FreeBSD.ORG Sat Aug 23 23:29:33 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0B0616A4BF; Sat, 23 Aug 2003 23:29:33 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BBF143F93; Sat, 23 Aug 2003 23:29:33 -0700 (PDT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7O6TX0U004760; Sat, 23 Aug 2003 23:29:33 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7O6TXp1004759; Sat, 23 Aug 2003 23:29:33 -0700 (PDT) Message-Id: <200308240629.h7O6TXp1004759@repoman.freebsd.org> From: Mike Makonnen Date: Sat, 23 Aug 2003 23:29:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d jail X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 06:29:33 -0000 mtm 2003/08/23 23:29:33 PDT FreeBSD src repository Modified files: etc/defaults rc.conf etc/rc.d jail Log: Enhance the jail start/stop script. o The following additional configuration attributes of a jail can be controlled from rc.conf: - mounting devfs(5) - mounting fdescfs(5) - mounting procfs(5) - custom devfs(8) ruleset If no ruleset is specified, the default jail ruleset is used. o The output of executing /etc/rc in the jail is now redirected to /dev/null. Instead, the hostname of the jail is echoed if the jail(8) command exited successfully. If the output is wanted it can probably be redirected to a file (/var/run/$jail maybe) instead of /dev/null. Submitted by: Scot W. Hetzel with modifications by Jens Rehsack and me. Revision Changes Path 1.187 +24 -5 src/etc/defaults/rc.conf 1.6 +100 -10 src/etc/rc.d/jail