From owner-freebsd-questions@FreeBSD.ORG Thu Feb 3 22:49:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26AE916A4CE for ; Thu, 3 Feb 2005 22:49:05 +0000 (GMT) Received: from jbhosting.de (mail.jbhosting.de [80.190.201.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC3843D49 for ; Thu, 3 Feb 2005 22:49:03 +0000 (GMT) (envelope-from jonas@schiebtsich.net) Received: (qmail 12227 invoked from network); 3 Feb 2005 22:49:02 -0000 Received: from unknown (HELO ?192.168.1.16?) (jonsonn@jbhosting.de@212.99.203.88) by mx010.jbhosting.de with RC4-MD5 encrypted SMTP; 3 Feb 2005 22:49:02 -0000 From: jonas Organization: schiebtsich.net To: freebsd-questions@freebsd.org Date: Thu, 3 Feb 2005 23:48:55 +0100 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502032348.56594.jonas@schiebtsich.net> Subject: Multiple jails with same basedir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 22:49:05 -0000 Hi list, I need to give some customers SSH access to one of my webservers, running inside a jail (virtual server setup like described in the man page). Now those customers might want to extract archive files or do other CPU intensive work which might disturb the webserver operation itself. I was thinking about running the login server in an additional jail with the same basedir set. I would be able to apply different ipfw rules as well as solving the priority problem by running the whole jail with nice priority. Q: Could this disturb operation of the webserver jail? The only possible problems I was able to think of was PID files in /var/run/ getting overwritten by the second jail and logging being somehow disturbed. What happens if I shut down jail #1, but the files in /var/run/ contain the PIDs of jail #2's processes? Will it be a problem having two syslogds logging to the same files? Any comments would be greatly appreciated. -- br j.