From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 05:01:15 2004 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 9EA0D16A4CE for ; Thu, 4 Mar 2004 05:01:15 -0800 (PST) Received: from mail.crypta.net (mail.crypta.net [194.97.74.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F59143D1D for ; Thu, 4 Mar 2004 05:01:15 -0800 (PST) (envelope-from ah@crypta.net) Received: by mail.crypta.net (Postfix, from userid 1001) id 953CFECD40D; Thu, 4 Mar 2004 14:01:12 +0100 (CET) Date: Thu, 4 Mar 2004 14:01:11 +0100 From: Andy Hilker To: current@freebsd.org Message-ID: <20040304130111.GA69263@mail.crypta.net> References: <1078394634.91467.0.camel@eirik.unicore.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1078394634.91467.0.camel@eirik.unicore.no> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xEC6E1071 X-PGP-Fingerprint: 9B2E 5892 AD93 D5C5 FB8E 3912 35D6 951B EC6E 1071 Organization: cryptobank - Andy Hilker Subject: Re: Jails in -CURRENT 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: Thu, 04 Mar 2004 13:01:15 -0000 Hi, > I can give you an outline of what my script does, then it'll be > for you to judge if it can be called a 'jail management' tool.. ;) I have written a similar shell script: - config file for all jails - config file for mounts in jails - stop/start all and individual jails - stopping a jail identifies all procs and kill them. I think in current that could be better made with jexec. - list procs and mounts I am mounting binaries etc. ro from Host System. Only configuration, homes etc. are individual per jail. Updating is much easier. > Future plans include finding a way to inject processes into jails In FreeBSD-Current no problem: jls / jexec If anyone interested, maybe someone could merge both shell scripts, picking the good things and discarding the bugs ;) bye, Andy