From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 05:43:00 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 0CC7416A4CF for ; Thu, 4 Mar 2004 05:43:00 -0800 (PST) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 52DF243D2F for ; Thu, 4 Mar 2004 05:42:59 -0800 (PST) (envelope-from ltning-freebsd-current@anduin.net) Received: (qmail 35202 invoked by uid 6759); 4 Mar 2004 13:42:58 -0000 Received: from ltning-freebsd-current@anduin.net by anduin.net by uid 82 with qmail-scanner-1.20 (clamscan: 0.60. spamassassin: 2.60. Clear:RC:1(213.225.74.166):. Processed in 0.023282 secs); 04 Mar 2004 13:42:58 -0000 X-Qmail-Scanner-Mail-From: ltning-freebsd-current@anduin.net via anduin.net X-Qmail-Scanner: 1.20 (Clear:RC:1(213.225.74.166):. Processed in 0.023282 secs) Received: from eirik.unicore.no (HELO ?10.0.16.10?) (213.225.74.166) by anduin.net with SMTP; 4 Mar 2004 13:42:58 -0000 From: Eirik Oeverby To: Andy Hilker In-Reply-To: <20040304130111.GA69263@mail.crypta.net> References: <1078394634.91467.0.camel@eirik.unicore.no> <20040304130111.GA69263@mail.crypta.net> Content-Type: text/plain Message-Id: <1078407868.91467.47.camel@eirik.unicore.no> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.4FreeBSD GNOME Team Port Date: Thu, 04 Mar 2004 14:44:28 +0100 Content-Transfer-Encoding: 7bit cc: current@freebsd.org 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:43:00 -0000 On Thu, 2004-03-04 at 14:01 +0100, Andy Hilker wrote: > 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. Does this mean that the installed software in the jail is 'fixed'? I.e. installed software on host == installed software in jail? Or do you only r-o mount /bin, /sbin, /usr/bin, etc. etc.? I've been considering such an approach, and have already started making it an option in my script, however wether or not this is wanted depends highly on how it's implemented and what use you have for the jails. Obviously in a jail that is acting as a true 'virtual server', this will be less than optimal. > > 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 ;) Good idea. Where can I find yours? I'm trying to write a manpage for mine, then I'll pack it up and throw it up on my website. I will probably put together a port aswell, but I have no idea how to proceed with that ;) /Eirik > > bye, > Andy > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"