From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 11:06:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E0631065676 for ; Thu, 17 Apr 2008 11:06:09 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C5C608FC29 for ; Thu, 17 Apr 2008 11:06:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3HB64gm006087; Thu, 17 Apr 2008 13:06:04 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3H9CC22048124; Thu, 17 Apr 2008 11:12:12 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 17 Apr 2008 11:12:12 +0200 (CEST) From: Wojciech Puchar To: Artem Kuchin In-Reply-To: <48062B06.3060501@itlegion.ru> Message-ID: <20080417111159.Q47709@wojtek.tensor.gdynia.pl> References: <48062B06.3060501@itlegion.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" Subject: Re: how to exec a process in a jail while being on the main host? 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: Thu, 17 Apr 2008 11:06:09 -0000 > on the main host (which runs the jail). > How can i run a new process inside the jail with a known JID w/o ssh-ing into > that jail or doing a lot of strange > manupulations? > > I am asking, because i have about 20 jails running and each has a running > special control daemon which > changes a lot and often. When change occures i need then to enter each jail > as root, kill the old daemon, start the new one. > This take a lot of time and is really annoying. man jexec